diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-13 02:05:11 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-01-17 03:21:34 +0100 |
commit | d42dd579ac1498e23f29465225fa3eee4520f5e5 (patch) | |
tree | 0781d5ae64b039a23bfdc2ec2c7356b679247d18 /drivers/gpu/drm/radeon/evergreen.c | |
parent | drm/radeon/kms: fix typo in evergreen safe reg (diff) | |
download | linux-d42dd579ac1498e23f29465225fa3eee4520f5e5.tar.xz linux-d42dd579ac1498e23f29465225fa3eee4520f5e5.zip |
drm/radeon/kms: add module option for pcie gen2
Switching to pcie gen2 causes problems on some
boards. Add a module option to turn it on/off.
There are gen2 compatability issues with some
motherboards it seems.
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=33027
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 7fe8ebdcdc0e..e201a88caf59 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c @@ -3158,6 +3158,9 @@ static void evergreen_pcie_gen2_enable(struct radeon_device *rdev) { u32 link_width_cntl, speed_cntl; + if (radeon_pcie_gen2 == 0) + return; + if (rdev->flags & RADEON_IS_IGP) return; |