aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2011-11-01 14:14:18 -0400
committerDave Airlie <airlied@redhat.com>2011-11-03 13:53:09 -0400
commit01e718ec194e30b3e8eb3858c742c13649757efc (patch)
tree2da74c312987c42cc0e45f1de53db0d2e3674144 /drivers/gpu/drm
parentb362105f7f5223fa4d2e03ceeea0e51da754ccc6 (diff)
drm/radeon/kms: Add MSI quirk for Dell RS690
Some Dell laptops only seem to work with MSIs. This looks like a platform/bios bug. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=37679 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm')
-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 f88c1a245036..914d9ee8fd35 100644
--- a/drivers/gpu/drm/radeon/radeon_irq_kms.c
+++ b/drivers/gpu/drm/radeon/radeon_irq_kms.c
@@ -125,6 +125,12 @@ static bool radeon_msi_ok(struct radeon_device *rdev)
125 (rdev->pdev->subsystem_device == 0x30c2)) 125 (rdev->pdev->subsystem_device == 0x30c2))
126 return true; 126 return true;
127 127
128 /* Dell RS690 only seems to work with MSIs. */
129 if ((rdev->pdev->device == 0x791f) &&
130 (rdev->pdev->subsystem_vendor == 0x1028) &&
131 (rdev->pdev->subsystem_device == 0x01fd))
132 return true;
133
128 if (rdev->flags & RADEON_IS_IGP) { 134 if (rdev->flags & RADEON_IS_IGP) {
129 /* APUs work fine with MSIs */ 135 /* APUs work fine with MSIs */
130 if (rdev->family >= CHIP_PALM) 136 if (rdev->family >= CHIP_PALM)