Skip to content

Commit b362105

Browse files
alexdeucherairlied
authored andcommitted
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>
1 parent 8f6c25c commit b362105

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎drivers/gpu/drm/radeon/radeon_irq_kms.c‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ static bool radeon_msi_ok(struct radeon_device *rdev)
118118
if (rdev->flags & RADEON_IS_AGP)
119119
return false;
120120

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+
121128
if (rdev->flags & RADEON_IS_IGP) {
122129
/* APUs work fine with MSIs */
123130
if (rdev->family >= CHIP_PALM)

0 commit comments

Comments
 (0)