mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-01 08:46:36 +09:00
drm/radeon/kms: Add MSI quirk for HP RS690
commit b362105f7f upstream.
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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
e85066637f
commit
e04f9bf1f4
@@ -118,6 +118,13 @@ static bool radeon_msi_ok(struct radeon_device *rdev)
|
||||
if (rdev->flags & RADEON_IS_AGP)
|
||||
return false;
|
||||
|
||||
/* Quirks */
|
||||
/* HP RS690 only seems to work with MSIs. */
|
||||
if ((rdev->pdev->device == 0x791f) &&
|
||||
(rdev->pdev->subsystem_vendor == 0x103c) &&
|
||||
(rdev->pdev->subsystem_device == 0x30c2))
|
||||
return true;
|
||||
|
||||
if (rdev->flags & RADEON_IS_IGP) {
|
||||
/* APUs work fine with MSIs */
|
||||
if (rdev->family >= CHIP_PALM)
|
||||
|
||||
Reference in New Issue
Block a user