mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: gp10b: Use PROD value for FE_GO_IDLE_TIMEOUT
Add gp10b PROD value for FE_GO_IDLE_TIMEOUT. Use the PROD value written in gk20a_init_gr_setup_hw() instead of hard coding here. Change-Id: If3bd981c1c0d9cc8ad19c21c220b7de81fdb529e Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/813959
This commit is contained in:
committed by
Deepak Nibade
parent
35b5e65166
commit
2643f200cf
@@ -999,9 +999,6 @@ static int gr_gp10b_init_fs_state(struct gk20a *g)
|
||||
gr_gpcs_tpcs_sm_disp_ctrl_re_suppress_disable_f());
|
||||
gk20a_writel(g, gr_gpcs_tpcs_sm_disp_ctrl_r(), data);
|
||||
|
||||
/* disable deep binning */
|
||||
gk20a_writel(g, gr_fe_go_idle_timeout_r(), 0x800);
|
||||
|
||||
return gr_gm20b_ctx_state_floorsweep(g);
|
||||
}
|
||||
|
||||
|
||||
@@ -538,6 +538,10 @@ static inline u32 gr_fe_go_idle_timeout_count_disabled_f(void)
|
||||
{
|
||||
return 0x0;
|
||||
}
|
||||
static inline u32 gr_fe_go_idle_timeout_count_prod_f(void)
|
||||
{
|
||||
return 0x7fffffff;
|
||||
}
|
||||
static inline u32 gr_fe_object_table_r(u32 i)
|
||||
{
|
||||
return 0x00404200 + i*4;
|
||||
|
||||
Reference in New Issue
Block a user