diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2011-10-25 15:11:08 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-11-03 13:53:05 -0400 |
commit | b362105f7f5223fa4d2e03ceeea0e51da754ccc6 (patch) | |
tree | 3657ae0993cc8ed20f30d2e3b70de38f040f6d78 /drivers/gpu/drm/radeon | |
parent | 8f6c25c59b0c895c68cae59d1b34e9a7b36971bc (diff) |
drm/radeon/kms: Add MSI quirk for HP RS690
Some HP 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/radeon')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_irq_kms.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_irq_kms.c b/drivers/gpu/drm/radeon/radeon_irq_kms.c index 91de37a0fde2..f88c1a245036 100644 --- a/drivers/gpu/drm/radeon/radeon_irq_kms.c +++ b/drivers/gpu/drm/radeon/radeon_irq_kms.c | |||
@@ -118,6 +118,13 @@ static bool radeon_msi_ok(struct radeon_device *rdev) | |||
118 | if (rdev->flags & RADEON_IS_AGP) | 118 | if (rdev->flags & RADEON_IS_AGP) |
119 | return false; | 119 | return false; |
120 | 120 | ||
121 | /* Quirks */ | ||
122 | /* HP RS690 only seems to work with MSIs. */ | ||
123 | if ((rdev->pdev->device == 0x791f) && | ||
124 | (rdev->pdev->subsystem_vendor == 0x103c) && | ||
125 | (rdev->pdev->subsystem_device == 0x30c2)) | ||
126 | return true; | ||
127 | |||
121 | if (rdev->flags & RADEON_IS_IGP) { | 128 | if (rdev->flags & RADEON_IS_IGP) { |
122 | /* APUs work fine with MSIs */ | 129 | /* APUs work fine with MSIs */ |
123 | if (rdev->family >= CHIP_PALM) | 130 | if (rdev->family >= CHIP_PALM) |