diff options
author | Alexander Lewkowicz <alewkowicz@nvidia.com> | 2017-09-19 16:36:56 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-09-20 18:58:08 -0400 |
commit | 1586a9f0044987106371255b8133430040ed4f70 (patch) | |
tree | e4921ae4b70b8f030e0b50c7785ef9d3870a7f69 /drivers/gpu/nvgpu | |
parent | 0a0da216db25e293c68b5c9c6fa88e559368dce2 (diff) |
gpu: nvgpu: gv11b: Fix sm lock down
Volta traphandler RM changes
Sm lock-down is not being executed correctly. This results in a
GPU being in an undefined state. A similar bug fix was already
provided on the resman implementation. This fix is inspired by the
CL change 21183102.
That change refers to bug http://nvbugs/1800484 and bug
http://nvbugs/200162542
This patch solves the issues mention in bug http://nvbugs/1992522
Change-Id: I601fef7c94e5ba419d7bf854877fa7a9f9b82cfa
Signed-off-by: Alexander Lewkowicz <alewkowicz@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1563815
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index 50b819ac..74ea0d2c 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -3136,7 +3136,7 @@ int gv11b_gr_wait_for_sm_lock_down(struct gk20a *g, | |||
3136 | check_errors && | 3136 | check_errors && |
3137 | (gr_gpc0_tpc0_sm0_hww_warp_esr_error_v(warp_esr) == | 3137 | (gr_gpc0_tpc0_sm0_hww_warp_esr_error_v(warp_esr) == |
3138 | gr_gpc0_tpc0_sm0_hww_warp_esr_error_none_v()) && | 3138 | gr_gpc0_tpc0_sm0_hww_warp_esr_error_none_v()) && |
3139 | ((global_esr & ~global_esr_mask) == 0); | 3139 | ((global_esr & global_esr_mask) == 0); |
3140 | 3140 | ||
3141 | if (locked_down) { | 3141 | if (locked_down) { |
3142 | /* | 3142 | /* |