diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-02-18 20:24:28 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-02-23 09:48:56 +1000 |
commit | aa5120d2ef228042416d3023fb7eda9ee487dcf9 (patch) | |
tree | 802a097e3d3b18f91113f47f02bbd091b9409698 /drivers/gpu/drm/radeon/radeon.h | |
parent | 08ff2a7a7a13c562e81a406722193f43cbb4e4ef (diff) | |
download | blackbird-op-linux-aa5120d2ef228042416d3023fb7eda9ee487dcf9.tar.gz blackbird-op-linux-aa5120d2ef228042416d3023fb7eda9ee487dcf9.zip |
drm/radeon/kms: implement reading active PCIE lanes on R600+
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 2 |
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 #define WREG32_MC(reg, v) rdev->mc_wreg(rdev, (reg), (v)) #define RREG32_PCIE(reg) rv370_pcie_rreg(rdev, (reg)) #define WREG32_PCIE(reg, v) rv370_pcie_wreg(rdev, (reg), (v)) +#define RREG32_PCIE_P(reg) rdev->pciep_rreg(rdev, (reg)) +#define WREG32_PCIE_P(reg, v) rdev->pciep_wreg(rdev, (reg), (v)) #define WREG32_P(reg, val, mask) \ do { \ uint32_t tmp_ = RREG32(reg); \ |