aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index fc9044edc0aa..2434d553bbbc 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -1014,6 +1014,8 @@ static inline void r100_mm_wreg(struct radeon_device *rdev, uint32_t reg, uint32
1014#define WREG32_MC(reg, v) rdev->mc_wreg(rdev, (reg), (v)) 1014#define WREG32_MC(reg, v) rdev->mc_wreg(rdev, (reg), (v))
1015#define RREG32_PCIE(reg) rv370_pcie_rreg(rdev, (reg)) 1015#define RREG32_PCIE(reg) rv370_pcie_rreg(rdev, (reg))
1016#define WREG32_PCIE(reg, v) rv370_pcie_wreg(rdev, (reg), (v)) 1016#define WREG32_PCIE(reg, v) rv370_pcie_wreg(rdev, (reg), (v))
1017#define RREG32_PCIE_P(reg) rdev->pciep_rreg(rdev, (reg))
1018#define WREG32_PCIE_P(reg, v) rdev->pciep_wreg(rdev, (reg), (v))
1017#define WREG32_P(reg, val, mask) \ 1019#define WREG32_P(reg, val, mask) \
1018 do { \ 1020 do { \
1019 uint32_t tmp_ = RREG32(reg); \ 1021 uint32_t tmp_ = RREG32(reg); \