diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/cde_gk20a.c | 3 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/cde_gk20a.h | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c index 4acfa955..57283343 100644 --- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.c | |||
@@ -436,6 +436,9 @@ static int gk20a_cde_patch_params(struct gk20a_cde_ctx *cde_ctx) | |||
436 | case TYPE_PARAM_BACKINGSTORE_BASE_HW: | 436 | case TYPE_PARAM_BACKINGSTORE_BASE_HW: |
437 | new_data = g->gr.compbit_store.base_hw; | 437 | new_data = g->gr.compbit_store.base_hw; |
438 | break; | 438 | break; |
439 | case TYPE_PARAM_GOBS_PER_COMPTAGLINE_PER_SLICE: | ||
440 | new_data = g->gr.gobs_per_comptagline_per_slice; | ||
441 | break; | ||
439 | default: | 442 | default: |
440 | user_id = param->id - NUM_RESERVED_PARAMS; | 443 | user_id = param->id - NUM_RESERVED_PARAMS; |
441 | if (user_id < 0 || user_id >= MAX_CDE_USER_PARAMS) | 444 | if (user_id < 0 || user_id >= MAX_CDE_USER_PARAMS) |
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.h b/drivers/gpu/nvgpu/gk20a/cde_gk20a.h index de51ba33..58480d26 100644 --- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.h | |||
@@ -128,6 +128,7 @@ enum { | |||
128 | TYPE_PARAM_BACKINGSTORE_SIZE, | 128 | TYPE_PARAM_BACKINGSTORE_SIZE, |
129 | TYPE_PARAM_SOURCE_SMMU_ADDR, | 129 | TYPE_PARAM_SOURCE_SMMU_ADDR, |
130 | TYPE_PARAM_BACKINGSTORE_BASE_HW, | 130 | TYPE_PARAM_BACKINGSTORE_BASE_HW, |
131 | TYPE_PARAM_GOBS_PER_COMPTAGLINE_PER_SLICE, | ||
131 | NUM_RESERVED_PARAMS = 1024, | 132 | NUM_RESERVED_PARAMS = 1024, |
132 | }; | 133 | }; |
133 | 134 | ||
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h index cd6fe9cb..903b2754 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |||
@@ -217,6 +217,7 @@ struct gr_gk20a { | |||
217 | u32 comptags_per_cacheline; | 217 | u32 comptags_per_cacheline; |
218 | u32 slices_per_ltc; | 218 | u32 slices_per_ltc; |
219 | u32 cacheline_size; | 219 | u32 cacheline_size; |
220 | u32 gobs_per_comptagline_per_slice; | ||
220 | 221 | ||
221 | u32 max_gpc_count; | 222 | u32 max_gpc_count; |
222 | u32 max_fbps_count; | 223 | u32 max_fbps_count; |