summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gv11b')
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_gv11b.c3
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_gv11b.h1
-rw-r--r--drivers/gpu/nvgpu/gv11b/hal_gv11b.c1
3 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
index 3030def8..9c79b29b 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c
@@ -1193,6 +1193,9 @@ int gr_gv11b_handle_sw_method(struct gk20a *g, u32 addr,
1193 case NVC397_SET_BES_CROP_DEBUG3: 1193 case NVC397_SET_BES_CROP_DEBUG3:
1194 g->ops.gr.set_bes_crop_debug3(g, data); 1194 g->ops.gr.set_bes_crop_debug3(g, data);
1195 break; 1195 break;
1196 case NVC397_SET_BES_CROP_DEBUG4:
1197 g->ops.gr.set_bes_crop_debug4(g, data);
1198 break;
1196 default: 1199 default:
1197 goto fail; 1200 goto fail;
1198 } 1201 }
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
index 022a7698..f8f80df3 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
@@ -65,6 +65,7 @@ enum {
65#define NVC397_SET_TEX_IN_DBG 0x10bc 65#define NVC397_SET_TEX_IN_DBG 0x10bc
66#define NVC397_SET_SKEDCHECK 0x10c0 66#define NVC397_SET_SKEDCHECK 0x10c0
67#define NVC397_SET_BES_CROP_DEBUG3 0x10c4 67#define NVC397_SET_BES_CROP_DEBUG3 0x10c4
68#define NVC397_SET_BES_CROP_DEBUG4 0x10b0
68 69
69#define NVC397_SET_TEX_IN_DBG_TSL1_RVCH_INVALIDATE 0x1 70#define NVC397_SET_TEX_IN_DBG_TSL1_RVCH_INVALIDATE 0x1
70#define NVC397_SET_TEX_IN_DBG_SM_L1TAG_CTRL_CACHE_SURFACE_LD 0x2 71#define NVC397_SET_TEX_IN_DBG_SM_L1TAG_CTRL_CACHE_SURFACE_LD 0x2
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
index 482c1eec..93f819e4 100644
--- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
+++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c
@@ -367,6 +367,7 @@ static const struct gpu_ops gv11b_ops = {
367 .init_preemption_state = gr_gv11b_init_preemption_state, 367 .init_preemption_state = gr_gv11b_init_preemption_state,
368 .update_boosted_ctx = gr_gp10b_update_boosted_ctx, 368 .update_boosted_ctx = gr_gp10b_update_boosted_ctx,
369 .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3, 369 .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3,
370 .set_bes_crop_debug4 = gr_gp10b_set_bes_crop_debug4,
370 .create_gr_sysfs = gr_gv11b_create_sysfs, 371 .create_gr_sysfs = gr_gv11b_create_sysfs,
371 .set_ctxsw_preemption_mode = gr_gv11b_set_ctxsw_preemption_mode, 372 .set_ctxsw_preemption_mode = gr_gv11b_set_ctxsw_preemption_mode,
372 .is_etpc_addr = gv11b_gr_pri_is_etpc_addr, 373 .is_etpc_addr = gv11b_gr_pri_is_etpc_addr,