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/gv100/hw_gr_gv100.h12
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h12
2 files changed, 24 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_gr_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_gr_gv100.h
index f5f09cdf..29fd9a6f 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_gr_gv100.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_gr_gv100.h
@@ -3884,6 +3884,18 @@ static inline u32 gr_gpcs_tpcs_sm_l1tag_ctrl_cache_surface_st_m(void)
3884{ 3884{
3885 return 0x1U << 10U; 3885 return 0x1U << 10U;
3886} 3886}
3887static inline u32 gr_gpcs_tpcs_sm_l1tag_ctrl_always_cut_collector_m(void)
3888{
3889 return 0x1U << 28U;
3890}
3891static inline u32 gr_gpcs_tpcs_sm_l1tag_ctrl_always_cut_collector_disable_f(void)
3892{
3893 return 0x0U;
3894}
3895static inline u32 gr_gpcs_tpcs_sm_l1tag_ctrl_always_cut_collector_enable_f(void)
3896{
3897 return 0x10000000U;
3898}
3887static inline u32 gr_fe_pwr_mode_r(void) 3899static inline u32 gr_fe_pwr_mode_r(void)
3888{ 3900{
3889 return 0x00404170U; 3901 return 0x00404170U;
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h
index f7968089..17c7e77d 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_gr_gv11b.h
@@ -4640,6 +4640,18 @@ static inline u32 gr_gpcs_tpcs_sm_l1tag_ctrl_cache_surface_st_m(void)
4640{ 4640{
4641 return 0x1U << 10U; 4641 return 0x1U << 10U;
4642} 4642}
4643static inline u32 gr_gpcs_tpcs_sm_l1tag_ctrl_always_cut_collector_m(void)
4644{
4645 return 0x1U << 28U;
4646}
4647static inline u32 gr_gpcs_tpcs_sm_l1tag_ctrl_always_cut_collector_disable_f(void)
4648{
4649 return 0x0U;
4650}
4651static inline u32 gr_gpcs_tpcs_sm_l1tag_ctrl_always_cut_collector_enable_f(void)
4652{
4653 return 0x10000000U;
4654}
4643static inline u32 gr_egpc0_etpc0_sm_dsm_perf_counter_control_sel0_r(void) 4655static inline u32 gr_egpc0_etpc0_sm_dsm_perf_counter_control_sel0_r(void)
4644{ 4656{
4645 return 0x00584200U; 4657 return 0x00584200U;