mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 18:16:01 +03:00
gpu: nvgpu: remove unused function gk20a_fifo_is_engine_busy
The function gk20a_fifo_is_engine_busy is not used and hence removed. Jira NVGPU-1315 Change-Id: I98599d9f3e94d0ccfc9df4db0e8d5c699b6a6e87 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2033633 GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
dc0e037d8c
commit
d91f7b44ef
@@ -2385,23 +2385,6 @@ bool gk20a_fifo_mmu_fault_pending(struct gk20a *g)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool gk20a_fifo_is_engine_busy(struct gk20a *g)
|
|
||||||
{
|
|
||||||
u32 i, host_num_engines;
|
|
||||||
struct nvgpu_engine_status_info engine_status;
|
|
||||||
|
|
||||||
host_num_engines = nvgpu_get_litter_value(g, GPU_LIT_HOST_NUM_ENGINES);
|
|
||||||
|
|
||||||
for (i = 0; i < host_num_engines; i++) {
|
|
||||||
g->ops.engine_status.read_engine_status_info(g, i,
|
|
||||||
&engine_status);
|
|
||||||
if (engine_status.is_busy) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
u32 gk20a_fifo_get_pbdma_signature(struct gk20a *g)
|
u32 gk20a_fifo_get_pbdma_signature(struct gk20a *g)
|
||||||
{
|
{
|
||||||
return pbdma_signature_hw_valid_f() | pbdma_signature_sw_zero_f();
|
return pbdma_signature_hw_valid_f() | pbdma_signature_sw_zero_f();
|
||||||
|
|||||||
@@ -278,7 +278,6 @@ int gk20a_fifo_tsg_unbind_channel(struct channel_gk20a *ch);
|
|||||||
|
|
||||||
void fifo_gk20a_finish_mmu_fault_handling(struct gk20a *g,
|
void fifo_gk20a_finish_mmu_fault_handling(struct gk20a *g,
|
||||||
unsigned long fault_id);
|
unsigned long fault_id);
|
||||||
bool gk20a_fifo_is_engine_busy(struct gk20a *g);
|
|
||||||
u32 gk20a_fifo_get_pbdma_signature(struct gk20a *g);
|
u32 gk20a_fifo_get_pbdma_signature(struct gk20a *g);
|
||||||
u32 gk20a_fifo_get_failing_engine_data(struct gk20a *g,
|
u32 gk20a_fifo_get_failing_engine_data(struct gk20a *g,
|
||||||
u32 *__id, bool *__is_tsg);
|
u32 *__id, bool *__is_tsg);
|
||||||
|
|||||||
Reference in New Issue
Block a user