From: Alex Deucher Date: Wed, 26 Sep 2012 16:40:45 +0000 (-0400) Subject: drm/radeon: force MSIs on RS690 asics X-Git-Tag: firefly_0821_release~7541^2~511 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a0e49be3b9bb651376b12682bd57212d1033ef36;p=firefly-linux-kernel-4.4.55.git drm/radeon: force MSIs on RS690 asics commit fb6ca6d154cdcd53e7f27f8dbba513830372699b upstream. There are so many quirks, lets just try and force this for all RS690s. See: https://bugs.freedesktop.org/show_bug.cgi?id=37679 Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/gpu/drm/radeon/radeon_irq_kms.c b/drivers/gpu/drm/radeon/radeon_irq_kms.c index d6bb436f5081..1cfe7539fd9f 100644 --- a/drivers/gpu/drm/radeon/radeon_irq_kms.c +++ b/drivers/gpu/drm/radeon/radeon_irq_kms.c @@ -149,6 +149,10 @@ static bool radeon_msi_ok(struct radeon_device *rdev) (rdev->pdev->subsystem_device == 0x0185)) return true; + /* try and enable MSIs by default on all RS690s */ + if (rdev->family == CHIP_RS690) + return true; + /* RV515 seems to have MSI issues where it loses * MSI rearms occasionally. This leads to lockups and freezes. * disable it by default.