mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: add nvgpu_pg_elpg_protected_call macro
gr_gk20a_elpg_protected_call is renamed as nvgpu_pg_elpg_protected_call and resides in common/ power_features/pg.c JIRA NVGPU-2014 Change-Id: Id027d9a81ca93e0d47bbeeeb537d5fcd882f68d3 Signed-off-by: Seema Khowala <seemaj@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2034274 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
c905858565
commit
ffb1869144
@@ -1061,7 +1061,7 @@ static ssize_t gfxp_wfi_timeout_count_store(struct device *dev,
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
err = gr_gk20a_elpg_protected_call(g,
|
||||
err = nvgpu_pg_elpg_protected_call(g,
|
||||
g->ops.gr.init_preemption_state(g));
|
||||
|
||||
gk20a_idle(g);
|
||||
@@ -1091,7 +1091,7 @@ static ssize_t gfxp_wfi_timeout_unit_store(struct device *dev,
|
||||
if (err)
|
||||
return err;
|
||||
|
||||
err = gr_gk20a_elpg_protected_call(g,
|
||||
err = nvgpu_pg_elpg_protected_call(g,
|
||||
g->ops.gr.init_preemption_state(g));
|
||||
|
||||
gk20a_idle(g);
|
||||
|
||||
Reference in New Issue
Block a user