mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: rename public channel unit APIs
Rename the public channel unit APIs to follow the convention of nvgpu_channel_*. gk20a_channel_deterministic_idle -> nvgpu_channel_deterministic_idle gk20a_channel_deterministic_unidle -> nvgpu_channel_deterministic_unidle gk20a_wait_until_counter_is_N -> nvgpu_channel_wait_until_counter_is_N nvgpu_gk20a_alloc_job -> nvgpu_channel_alloc_job Jira NVGPU-3248 Change-Id: I358d63d4e891f6d92c70efe887c07674bc0f9914 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2123398 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
3d1169544f
commit
0eb0242bdd
@@ -519,7 +519,7 @@ int gk20a_do_idle_impl(struct gk20a *g, bool force_reset)
|
||||
* Hold back deterministic submits and changes to deterministic
|
||||
* channels - this must be outside the power busy locks.
|
||||
*/
|
||||
gk20a_channel_deterministic_idle(g);
|
||||
nvgpu_channel_deterministic_idle(g);
|
||||
|
||||
/* acquire busy lock to block other busy() calls */
|
||||
down_write(&l->busy_lock);
|
||||
@@ -626,7 +626,7 @@ fail_drop_usage_count:
|
||||
fail_timeout:
|
||||
nvgpu_mutex_release(&platform->railgate_lock);
|
||||
up_write(&l->busy_lock);
|
||||
gk20a_channel_deterministic_unidle(g);
|
||||
nvgpu_channel_deterministic_unidle(g);
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
@@ -676,7 +676,7 @@ int gk20a_do_unidle_impl(struct gk20a *g)
|
||||
nvgpu_mutex_release(&platform->railgate_lock);
|
||||
up_write(&l->busy_lock);
|
||||
|
||||
gk20a_channel_deterministic_unidle(g);
|
||||
nvgpu_channel_deterministic_unidle(g);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user