summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2018-08-16 17:05:02 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-09-04 19:15:21 -0400
commit8a76e8b4910480efcdeb47d18cb209e247d9eda8 (patch)
tree164a4034ffd72bb929da6837f8f0ae9fa9196d95 /drivers/gpu/nvgpu/gv11b
parenta18f364fd28cf6a19edcb55b22a9b458d29a826d (diff)
gpu: nvgpu: Split HUB and GPC MMU debug mode set
HUB and GPC MMU debug modes were set in the same function. This introduced a dependency from FB code to GR registers. Split setting of GPC MMU debug mode to GR HAL. Change-Id: I003446f9dfa147f526bd01d3b6130f4037d9b183 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1801420 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b')
-rw-r--r--drivers/gpu/nvgpu/gv11b/hal_gv11b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
index ff9fc8c6..d87975d1 100644
--- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
@@ -422,6 +422,7 @@ static const struct gpu_ops gv11b_ops = {
422 .get_nonpes_aware_tpc = gr_gv11b_get_nonpes_aware_tpc, 422 .get_nonpes_aware_tpc = gr_gv11b_get_nonpes_aware_tpc,
423 .get_offset_in_gpccs_segment = 423 .get_offset_in_gpccs_segment =
424 gr_gk20a_get_offset_in_gpccs_segment, 424 gr_gk20a_get_offset_in_gpccs_segment,
425 .set_debug_mode = gm20b_gr_set_debug_mode,
425 }, 426 },
426 .fb = { 427 .fb = {
427 .reset = gv11b_fb_reset, 428 .reset = gv11b_fb_reset,