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/gv11b/hw_gr_gv11b.h32
1 files changed, 32 insertions, 0 deletions
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 29999163..1e82456f 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
@@ -1112,6 +1112,22 @@ static inline u32 gr_pri_gpcs_tpcs_sm_l1_tag_ecc_control_scrub_el1_1_task_f(void
1112{ 1112{
1113 return 0x2U; 1113 return 0x2U;
1114} 1114}
1115static inline u32 gr_pri_gpcs_tpcs_sm_l1_tag_ecc_control_scrub_pixprf_f(u32 v)
1116{
1117 return (v & 0x1U) << 4U;
1118}
1119static inline u32 gr_pri_gpcs_tpcs_sm_l1_tag_ecc_control_scrub_pixprf_task_f(void)
1120{
1121 return 0x10U;
1122}
1123static inline u32 gr_pri_gpcs_tpcs_sm_l1_tag_ecc_control_scrub_miss_fifo_f(u32 v)
1124{
1125 return (v & 0x1U) << 5U;
1126}
1127static inline u32 gr_pri_gpcs_tpcs_sm_l1_tag_ecc_control_scrub_miss_fifo_task_f(void)
1128{
1129 return 0x20U;
1130}
1115static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_control_r(void) 1131static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_control_r(void)
1116{ 1132{
1117 return 0x00504620U; 1133 return 0x00504620U;
@@ -1132,6 +1148,22 @@ static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_control_scrub_el1_1_init_f(void
1132{ 1148{
1133 return 0x0U; 1149 return 0x0U;
1134} 1150}
1151static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_control_scrub_pixprf_f(u32 v)
1152{
1153 return (v & 0x1U) << 4U;
1154}
1155static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_control_scrub_pixprf_init_f(void)
1156{
1157 return 0x0U;
1158}
1159static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_control_scrub_miss_fifo_f(u32 v)
1160{
1161 return (v & 0x1U) << 5U;
1162}
1163static inline u32 gr_pri_gpc0_tpc0_sm_l1_tag_ecc_control_scrub_miss_fifo_init_f(void)
1164{
1165 return 0x0U;
1166}
1135static inline u32 gr_pri_gpcs_tpcs_sm_cbu_ecc_control_r(void) 1167static inline u32 gr_pri_gpcs_tpcs_sm_cbu_ecc_control_r(void)
1136{ 1168{
1137 return 0x00419e34U; 1169 return 0x00419e34U;