summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2012-04-13 11:14:50 +0100
committerDave Airlie <airlied@redhat.com>2012-04-16 13:40:04 +0100
commit16a5e32b83fd946312b9b13590c75d20c95c5202 (patch)
treee0f47cb17a899203deb0f8aa05dbfc4be3d4e5e0 /drivers/gpu
parente816b57a337ea3b755de72bec38c10c864f23015 (diff)
downloadlinux-3.10-16a5e32b83fd946312b9b13590c75d20c95c5202.tar.gz
linux-3.10-16a5e32b83fd946312b9b13590c75d20c95c5202.tar.bz2
linux-3.10-16a5e32b83fd946312b9b13590c75d20c95c5202.zip
drm/radeon: disable MSI on RV515
My rv515 card is very flaky with msi enabled. Every so often it loses a rearm and never comes back, manually banging the rearm brings it back. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/radeon/radeon_irq_kms.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_irq_kms.c b/drivers/gpu/drm/radeon/radeon_irq_kms.c
index 66d5fe1c817..65060b77c80 100644
--- a/drivers/gpu/drm/radeon/radeon_irq_kms.c
+++ b/drivers/gpu/drm/radeon/radeon_irq_kms.c
@@ -147,6 +147,12 @@ static bool radeon_msi_ok(struct radeon_device *rdev)
(rdev->pdev->subsystem_device == 0x01fd))
return true;
+ /* RV515 seems to have MSI issues where it loses
+ * MSI rearms occasionally. This leads to lockups and freezes.
+ * disable it by default.
+ */
+ if (rdev->family == CHIP_RV515)
+ return false;
if (rdev->flags & RADEON_IS_IGP) {
/* APUs work fine with MSIs */
if (rdev->family >= CHIP_PALM)