summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2015-09-21 14:10:30 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:08 -0500
commitd1331bd07d9e9b9c6432ec9406db29e197eabd8a (patch)
tree4d98de76cb79032f30227589eb1e8e4c12b417ed /drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h
parentc9da53da4e595271fc6a9639cf1907d84061e356 (diff)
gpu: nvgpu: gp10b: Implement SetCoalesceBufferSize
Implement method for setting the coalesce buffer size at runtime. Bug 1681992 Change-Id: Ice6c00a27f642c2d68d6cd0e30c12df2e48f5374 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/802366 (cherry picked from commit bd763bc8a16b80ccc8f79b2229eccf2fe2417611) Reviewed-on: http://git-master/r/808239 GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h
index 6e4f7d1a..e33f0734 100644
--- a/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/hw_gr_gp10b.h
@@ -3786,4 +3786,16 @@ static inline u32 gr_gpcs_tpcs_sm_disp_ctrl_re_suppress_disable_f(void)
3786{ 3786{
3787 return 0x1000; 3787 return 0x1000;
3788} 3788}
3789static inline u32 gr_gpcs_tc_debug0_r(void)
3790{
3791 return 0x00418708;
3792}
3793static inline u32 gr_gpcs_tc_debug0_limit_coalesce_buffer_size_f(u32 v)
3794{
3795 return (v & 0xff) << 0;
3796}
3797static inline u32 gr_gpcs_tc_debug0_limit_coalesce_buffer_size_m(void)
3798{
3799 return 0xff << 0;
3800}
3789#endif 3801#endif