drm/radeon: allow pcie gen2 speed on NI
authorIlija Hadzic <ihadzic@research.bell-labs.com>
Tue, 20 Sep 2011 14:22:57 +0000 (10:22 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 12 Oct 2011 13:39:03 +0000 (14:39 +0100)
Enabling pcie gen2 speed was skipped for Northern Islands
AISCs, although it looks like it works just fine with the same
initialization sequence used for evergreen.

According to Alex D. gen2 init was skipped to prevent a crash
that has been caused by some other bug that has been
fixed in the meantime; so now it should be safe to enable it.

Signed-off-by: Ilija Hadzic <ihadzic@research.bell-labs.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c

index a72dbb3e13359df543c253336471bc26359bfcd4..1fc8650079db19f3b5686ee720b3538da9ac94bc 100644 (file)
@@ -3050,8 +3050,7 @@ static int evergreen_startup(struct radeon_device *rdev)
        int r;
 
        /* enable pcie gen2 link */
-       if (!ASIC_IS_DCE5(rdev))
-               evergreen_pcie_gen2_enable(rdev);
+       evergreen_pcie_gen2_enable(rdev);
 
        if (ASIC_IS_DCE5(rdev)) {
                if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw || !rdev->mc_fw) {