mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: remove HAL pointer for gk20a_fifo_wait_engine_idle
The corresponding HAL pointer for gk20a_fifo_wait_engine_idle is not being invoked anywhere and hence they are removed from the code. The function gk20a_fifo_wait_engine_idle belongs to engine unit and is only called in a non-safe build, hence its moved to engine unit and is restricted by a non-safe build flag NVGPU_ENGINE Also, gk20a_fifo_wait_engine_idle is renamed to nvgpu_engine_wait_for_idle Jira NVGPU-1315 Change-Id: Ie550c7e46a4284dfe368859d828b1994df34185f Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2033631 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
adc27cc9b4
commit
8fae143b57
@@ -969,7 +969,7 @@ int nvgpu_quiesce(struct gk20a *g)
|
||||
return err;
|
||||
}
|
||||
|
||||
err = gk20a_fifo_wait_engine_idle(g);
|
||||
err = nvgpu_engine_wait_for_idle(g);
|
||||
if (err) {
|
||||
nvgpu_err(g, "failed to idle engines, err=%d",
|
||||
err);
|
||||
|
||||
Reference in New Issue
Block a user