diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 4 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index 35b1fdc5..0e874c8a 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -191,6 +191,10 @@ static int gv11b_get_litter_value(struct gk20a *g, int value) | |||
191 | case GPU_LIT_FBPA_STRIDE: | 191 | case GPU_LIT_FBPA_STRIDE: |
192 | ret = proj_fbpa_stride_v(); | 192 | ret = proj_fbpa_stride_v(); |
193 | break; | 193 | break; |
194 | case GPU_LIT_SM_PRI_STRIDE: | ||
195 | ret = proj_sm_stride_v(); | ||
196 | break; | ||
197 | |||
194 | default: | 198 | default: |
195 | break; | 199 | break; |
196 | } | 200 | } |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h index 98acee4c..a6515ba9 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_proj_gv11b.h | |||
@@ -154,4 +154,8 @@ static inline u32 proj_scal_max_tpc_per_gpc_v(void) | |||
154 | { | 154 | { |
155 | return 0x00000008; | 155 | return 0x00000008; |
156 | } | 156 | } |
157 | static inline u32 proj_sm_stride_v(void) | ||
158 | { | ||
159 | return 0x00000080; | ||
160 | } | ||
157 | #endif | 161 | #endif |