gpu: nvgpu: gv11b: sm stride litter added

Required to support multiple SM

JIRA GPUT19X-75

Change-Id: I1fd0530550ae14270a5e746d2efbf3e913ac4c3e
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: https://git-master/r/1475985
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: David Martinez Nieto <dmartineznie@nvidia.com>
This commit is contained in:
Seema Khowala
2017-05-03 16:08:14 -07:00
committed by mobile promotions
parent a64984e759
commit 56eaeab512
2 changed files with 8 additions and 0 deletions

View File

@@ -191,6 +191,10 @@ static int gv11b_get_litter_value(struct gk20a *g, int value)
case GPU_LIT_FBPA_STRIDE: case GPU_LIT_FBPA_STRIDE:
ret = proj_fbpa_stride_v(); ret = proj_fbpa_stride_v();
break; break;
case GPU_LIT_SM_PRI_STRIDE:
ret = proj_sm_stride_v();
break;
default: default:
break; break;
} }

View File

@@ -154,4 +154,8 @@ static inline u32 proj_scal_max_tpc_per_gpc_v(void)
{ {
return 0x00000008; return 0x00000008;
} }
static inline u32 proj_sm_stride_v(void)
{
return 0x00000080;
}
#endif #endif