summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/evergreen.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-01-07 03:19:34 +0100
committerDave Airlie <airlied@redhat.com>2011-01-07 05:11:43 +0100
commit0d1014a2f2d1ad660caafae6f62796a93307867f (patch)
treebdcb8ad2ec222c7a20d7226148e3129b34972c89 /drivers/gpu/drm/radeon/evergreen.c
parentdrm/radeon/kms: add radeon_asic struct for NI asics (diff)
downloadlinux-0d1014a2f2d1ad660caafae6f62796a93307867f.tar.xz
linux-0d1014a2f2d1ad660caafae6f62796a93307867f.zip
drm/radeon/kms: don't enable pcie gen2 on NI yet
Still needs to be implemented. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen.c')
-rw-r--r--drivers/gpu/drm/radeon/evergreen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
index 4fb2101ee476..7fe8ebdcdc0e 100644
--- a/drivers/gpu/drm/radeon/evergreen.c
+++ b/drivers/gpu/drm/radeon/evergreen.c
@@ -2853,7 +2853,8 @@ static int evergreen_startup(struct radeon_device *rdev)
int r;
/* enable pcie gen2 link */
- evergreen_pcie_gen2_enable(rdev);
+ if (!ASIC_IS_DCE5(rdev))
+ evergreen_pcie_gen2_enable(rdev);
if (ASIC_IS_DCE5(rdev)) {
if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw || !rdev->mc_fw) {