summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h
index fe902cbb..e56923c6 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_gr_gp10b.h
@@ -1662,6 +1662,10 @@ static inline u32 gr_pd_ab_dist_cfg1_r(void)
1662{ 1662{
1663 return 0x004064c4; 1663 return 0x004064c4;
1664} 1664}
1665static inline u32 gr_pd_ab_dist_cfg1_max_batches_f(u32 v)
1666{
1667 return (v & 0xffff) << 0;
1668}
1665static inline u32 gr_pd_ab_dist_cfg1_max_batches_init_f(void) 1669static inline u32 gr_pd_ab_dist_cfg1_max_batches_init_f(void)
1666{ 1670{
1667 return 0xffff; 1671 return 0xffff;