diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-08-25 18:38:57 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-31 13:33:47 -0500 |
commit | 4bd9682c924d4e10e715f9f271a1e7461f9c1f59 (patch) | |
tree | b033f434d7d86211cb586e8a59c4bc95cb4e4ab0 /drivers/gpu/nvgpu/boardobj/boardobj.h | |
parent | 5fb7f2a262d2e9e187d8bcc4fb2ceb945fec9f8d (diff) |
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
Diffstat (limited to 'drivers/gpu/nvgpu/boardobj/boardobj.h')
0 files changed, 0 insertions, 0 deletions