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.h36
1 files changed, 36 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 90994a53..473eaff4 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
@@ -1572,6 +1572,42 @@ static inline u32 gr_fe_tpc_fs_r(u32 i)
1572{ 1572{
1573 return 0x0040a200U + i*4U; 1573 return 0x0040a200U + i*4U;
1574} 1574}
1575static inline u32 gr_fe_tpc_pesmask_r(void)
1576{
1577 return 0x0040a260U;
1578}
1579static inline u32 gr_fe_tpc_pesmask_pesid_f(u32 v)
1580{
1581 return (v & 0x3fU) << 24U;
1582}
1583static inline u32 gr_fe_tpc_pesmask_gpcid_f(u32 v)
1584{
1585 return (v & 0xffU) << 16U;
1586}
1587static inline u32 gr_fe_tpc_pesmask_action_m(void)
1588{
1589 return 0x1U << 30U;
1590}
1591static inline u32 gr_fe_tpc_pesmask_action_write_f(void)
1592{
1593 return 0x40000000U;
1594}
1595static inline u32 gr_fe_tpc_pesmask_action_read_f(void)
1596{
1597 return 0x0U;
1598}
1599static inline u32 gr_fe_tpc_pesmask_req_m(void)
1600{
1601 return 0x1U << 31U;
1602}
1603static inline u32 gr_fe_tpc_pesmask_req_send_f(void)
1604{
1605 return 0x80000000U;
1606}
1607static inline u32 gr_fe_tpc_pesmask_mask_m(void)
1608{
1609 return 0xffffU << 0U;
1610}
1575static inline u32 gr_pri_mme_shadow_raw_index_r(void) 1611static inline u32 gr_pri_mme_shadow_raw_index_r(void)
1576{ 1612{
1577 return 0x00404488U; 1613 return 0x00404488U;