diff options
author | Alex Deucher | 2011-01-07 00:49:34 +0100 |
---|---|---|
committer | Dave Airlie | 2011-01-07 05:11:13 +0100 |
commit | 3313e3d4333ccbf8bd7c816775cfe9aca623bd8a (patch) | |
tree | 541755e1eb2f582dc6e2d3cf7abedab0820377d9 /drivers/gpu/drm/radeon/radeon.h | |
parent | drm/radeon/kms: add quirk for Mac Radeon HD 2600 card (diff) | |
download | kernel-qcow2-linux-3313e3d4333ccbf8bd7c816775cfe9aca623bd8a.tar.gz kernel-qcow2-linux-3313e3d4333ccbf8bd7c816775cfe9aca623bd8a.tar.xz kernel-qcow2-linux-3313e3d4333ccbf8bd7c816775cfe9aca623bd8a.zip |
drm/radeon/kms: add pcie get/set lane support for r6xx/r7xx/evergreen
Signed-off-by: Alex Deucher <alexdeucher@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 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index aff8080026a1..e9fb64c1e20b 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -1317,6 +1317,14 @@ void r100_pll_errata_after_index(struct radeon_device *rdev); (rdev->family == CHIP_RV410) || \ (rdev->family == CHIP_RS400) || \ (rdev->family == CHIP_RS480)) +#define ASIC_IS_X2(rdev) ((rdev->ddev->pdev->device == 0x9441) || \ + (rdev->ddev->pdev->device == 0x9443) || \ + (rdev->ddev->pdev->device == 0x944B) || \ + (rdev->ddev->pdev->device == 0x9506) || \ + (rdev->ddev->pdev->device == 0x9509) || \ + (rdev->ddev->pdev->device == 0x950F) || \ + (rdev->ddev->pdev->device == 0x689C) || \ + (rdev->ddev->pdev->device == 0x689D)) #define ASIC_IS_AVIVO(rdev) ((rdev->family >= CHIP_RS600)) #define ASIC_IS_DCE2(rdev) ((rdev->family == CHIP_RS600) || \ (rdev->family == CHIP_RS690) || \ |