summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/cde_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/cde_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/cde_gk20a.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c
index 2c24db85..63a1a590 100644
--- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c
@@ -321,6 +321,9 @@ static int gk20a_cde_patch_params(struct gk20a_cde_ctx *cde_ctx)
321 if (new_data == 0) 321 if (new_data == 0)
322 err = -EINVAL; 322 err = -EINVAL;
323 break; 323 break;
324 case TYPE_PARAM_BACKINGSTORE_BASE_HW:
325 new_data = g->gr.compbit_store.base_hw;
326 break;
324 default: 327 default:
325 user_id = param->id - NUM_RESERVED_PARAMS; 328 user_id = param->id - NUM_RESERVED_PARAMS;
326 if (user_id < 0 || user_id >= MAX_CDE_USER_PARAMS) 329 if (user_id < 0 || user_id >= MAX_CDE_USER_PARAMS)