diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-12 20:05:11 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-01-17 12:21:34 +1000 |
commit | d42dd579ac1498e23f29465225fa3eee4520f5e5 (patch) | |
tree | 0781d5ae64b039a23bfdc2ec2c7356b679247d18 /drivers/gpu/drm/radeon/r600.c | |
parent | 394d83c17fac2b7bcf05cb99d1e945135767bb6b (diff) | |
download | op-kernel-dev-d42dd579ac1498e23f29465225fa3eee4520f5e5.zip op-kernel-dev-d42dd579ac1498e23f29465225fa3eee4520f5e5.tar.gz |
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/r600.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index 6b50716..9fe86253 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c @@ -3658,6 +3658,9 @@ static void r600_pcie_gen2_enable(struct radeon_device *rdev) u32 link_width_cntl, lanes, speed_cntl, training_cntl, tmp; u16 link_cntl2; + if (radeon_pcie_gen2 == 0) + return; + if (rdev->flags & RADEON_IS_IGP) return; |