mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 11:04:51 +03:00
gpu: nvgpu: Reset priv ring properly on error
We did not follow the proper sequence to reset priv ring on error. Instead we just re-enabled priv ring, which does not reset anything. Rename the gk20a_reset_priv_ring() to gk20a_enable_priv_ring() to indicate its proper use. Add another gk20a_reset_priv_ring() which actually resets priv ring properly. Change-Id: Ied74465b1215daa447a565b7e9cafef7fbe67d1b Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1294681 Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
5fb7f2a262
commit
4bd9682c92
@@ -933,7 +933,7 @@ int gk20a_pm_finalize_poweron(struct device *dev)
|
||||
if (g->ops.clk.disable_slowboot)
|
||||
g->ops.clk.disable_slowboot(g);
|
||||
|
||||
gk20a_reset_priv_ring(g);
|
||||
gk20a_enable_priv_ring(g);
|
||||
|
||||
/* TBD: move this after graphics init in which blcg/slcg is enabled.
|
||||
This function removes SlowdownOnBoot which applies 32x divider
|
||||
|
||||
Reference in New Issue
Block a user