SR(DCHUBBUB_ARB_SAT_LEVEL),\
SR(DCHUBBUB_ARB_DF_REQ_OUTSTAND),\
/* todo: get these from GVM instead of reading registers ourselves */\
- GC_SR(VM_CONTEXT0_PAGE_TABLE_BASE_ADDR_HI32),\
- GC_SR(VM_CONTEXT0_PAGE_TABLE_BASE_ADDR_LO32),\
- GC_SR(VM_CONTEXT0_PAGE_TABLE_START_ADDR_HI32),\
- GC_SR(VM_CONTEXT0_PAGE_TABLE_START_ADDR_LO32),\
- GC_SR(VM_CONTEXT0_PAGE_TABLE_END_ADDR_HI32),\
- GC_SR(VM_CONTEXT0_PAGE_TABLE_END_ADDR_LO32),\
- GC_SR(VM_L2_PROTECTION_FAULT_DEFAULT_ADDR_HI32),\
- GC_SR(VM_L2_PROTECTION_FAULT_DEFAULT_ADDR_LO32),\
- GC_SR(MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR_MSB),\
- GC_SR(MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR_LSB),\
- GC_SR(MC_VM_SYSTEM_APERTURE_LOW_ADDR),\
- GC_SR(MC_VM_SYSTEM_APERTURE_HIGH_ADDR)
+ MMHUB_SR(VM_CONTEXT0_PAGE_TABLE_BASE_ADDR_HI32),\
+ MMHUB_SR(VM_CONTEXT0_PAGE_TABLE_BASE_ADDR_LO32),\
+ MMHUB_SR(VM_CONTEXT0_PAGE_TABLE_START_ADDR_HI32),\
+ MMHUB_SR(VM_CONTEXT0_PAGE_TABLE_START_ADDR_LO32),\
+ MMHUB_SR(VM_CONTEXT0_PAGE_TABLE_END_ADDR_HI32),\
+ MMHUB_SR(VM_CONTEXT0_PAGE_TABLE_END_ADDR_LO32),\
+ MMHUB_SR(VM_L2_PROTECTION_FAULT_DEFAULT_ADDR_HI32),\
+ MMHUB_SR(VM_L2_PROTECTION_FAULT_DEFAULT_ADDR_LO32),\
+ MMHUB_SR(MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR_MSB),\
+ MMHUB_SR(MC_VM_SYSTEM_APERTURE_DEFAULT_ADDR_LSB),\
+ MMHUB_SR(MC_VM_SYSTEM_APERTURE_LOW_ADDR),\
+ MMHUB_SR(MC_VM_SYSTEM_APERTURE_HIGH_ADDR)
struct dcn_mi_registers {
uint32_t DCHUBP_CNTL;
.reg_name = NBIO_BASE(mm ## reg_name ## _BASE_IDX) + \
mm ## reg_name
-/* GC */
-#define GC_BASE_INNER(seg) \
- GC_BASE__INST0_SEG ## seg
+/* MMHUB */
+#define MMHUB_BASE_INNER(seg) \
+ MMHUB_BASE__INST0_SEG ## seg
-#define GC_BASE(seg) \
- GC_BASE_INNER(seg)
+#define MMHUB_BASE(seg) \
+ MMHUB_BASE_INNER(seg)
-#define GC_SR(reg_name)\
- .reg_name = GC_BASE(mm ## reg_name ## _BASE_IDX) + \
+#define MMHUB_SR(reg_name)\
+ .reg_name = MMHUB_BASE(mm ## reg_name ## _BASE_IDX) + \
mm ## reg_name
/* macros to expend register list macro defined in HW object header file