summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-01-06 21:19:34 -0500
committerDave Airlie <airlied@redhat.com>2011-01-07 14:11:43 +1000
commit0d1014a2f2d1ad660caafae6f62796a93307867f (patch)
treebdcb8ad2ec222c7a20d7226148e3129b34972c89
parenta43b7665de7b1adbda5ce19d57cb65add0982c8f (diff)
downloadop-kernel-dev-0d1014a2f2d1ad660caafae6f62796a93307867f.zip
op-kernel-dev-0d1014a2f2d1ad660caafae6f62796a93307867f.tar.gz
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>
-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 4fb2101..7fe8ebd 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) {
OpenPOWER on IntegriCloud