diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/common/fb/fb_gv100.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/fb/fb_gv100.c b/drivers/gpu/nvgpu/common/fb/fb_gv100.c index d092ff4a..ce51a2c6 100644 --- a/drivers/gpu/nvgpu/common/fb/fb_gv100.c +++ b/drivers/gpu/nvgpu/common/fb/fb_gv100.c | |||
@@ -192,6 +192,11 @@ int gv100_fb_memory_unlock(struct gk20a *g) | |||
192 | mem_unlock_ucode_header[OS_DATA_OFFSET] >> 2], | 192 | mem_unlock_ucode_header[OS_DATA_OFFSET] >> 2], |
193 | mem_unlock_ucode_header[OS_DATA_SIZE], 0); | 193 | mem_unlock_ucode_header[OS_DATA_SIZE], 0); |
194 | 194 | ||
195 | /* Write non-zero value to mailbox register which is updated by | ||
196 | * mem_unlock bin to denote its return status. | ||
197 | */ | ||
198 | nvgpu_flcn_mailbox_write(&g->nvdec_flcn, 0, 0xdeadbeef); | ||
199 | |||
195 | /* set BOOTVEC to start of non-secure code */ | 200 | /* set BOOTVEC to start of non-secure code */ |
196 | nvgpu_flcn_bootstrap(&g->nvdec_flcn, 0); | 201 | nvgpu_flcn_bootstrap(&g->nvdec_flcn, 0); |
197 | 202 | ||
@@ -202,6 +207,7 @@ int gv100_fb_memory_unlock(struct gk20a *g) | |||
202 | val = nvgpu_flcn_mailbox_read(&g->nvdec_flcn, 0); | 207 | val = nvgpu_flcn_mailbox_read(&g->nvdec_flcn, 0); |
203 | if (val) { | 208 | if (val) { |
204 | nvgpu_err(g, "memory unlock failed, err %x", val); | 209 | nvgpu_err(g, "memory unlock failed, err %x", val); |
210 | nvgpu_flcn_dump_stats(&g->nvdec_flcn); | ||
205 | err = -1; | 211 | err = -1; |
206 | goto exit; | 212 | goto exit; |
207 | } | 213 | } |