aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-03-30 17:22:32 -0400
committerDave Airlie <airlied@redhat.com>2010-03-31 00:55:02 -0400
commitc414a117c6094c3f86b533f97beaf45ef9075f03 (patch)
tree0ce82a54cb251540d3524317d2b3e1a4be6e28e1 /drivers
parentf46c01208da1881591e3f55ca77d37f54469f8e4 (diff)
drm/radeon/kms: disable MSI on IGP chips
Doesn't seem to work reliably and the pci quirks don't always work. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/radeon/radeon_irq_kms.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_irq_kms.c b/drivers/gpu/drm/radeon/radeon_irq_kms.c
index 68519b406ca6..a212041e8b0b 100644
--- a/drivers/gpu/drm/radeon/radeon_irq_kms.c
+++ b/drivers/gpu/drm/radeon/radeon_irq_kms.c
@@ -114,13 +114,11 @@ int radeon_irq_kms_init(struct radeon_device *rdev)
114 } 114 }
115 /* enable msi */ 115 /* enable msi */
116 rdev->msi_enabled = 0; 116 rdev->msi_enabled = 0;
117 /* MSIs don't seem to work on my rs780; 117 /* MSIs don't seem to work reliably on all IGP
118 * not sure about rs880 or other rs780s. 118 * chips. Disable MSI on them for now.
119 * Needs more investigation.
120 */ 119 */
121 if ((rdev->family >= CHIP_RV380) && 120 if ((rdev->family >= CHIP_RV380) &&
122 (rdev->family != CHIP_RS780) && 121 (!(rdev->flags & RADEON_IS_IGP))) {
123 (rdev->family != CHIP_RS880)) {
124 int ret = pci_enable_msi(rdev->pdev); 122 int ret = pci_enable_msi(rdev->pdev);
125 if (!ret) { 123 if (!ret) {
126 rdev->msi_enabled = 1; 124 rdev->msi_enabled = 1;