Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da7be684 authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie
Browse files

drm/radeon/kms: don't enable MSIs on AGP boards

parent e57415d8
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -121,11 +121,12 @@ int radeon_irq_kms_init(struct radeon_device *rdev)
	 * chips.  Disable MSI on them for now.
	 */
	if ((rdev->family >= CHIP_RV380) &&
	    (!(rdev->flags & RADEON_IS_IGP))) {
	    (!(rdev->flags & RADEON_IS_IGP)) &&
	    (!(rdev->flags & RADEON_IS_AGP))) {
		int ret = pci_enable_msi(rdev->pdev);
		if (!ret) {
			rdev->msi_enabled = 1;
			DRM_INFO("radeon: using MSI.\n");
			dev_info(rdev->dev, "radeon: using MSI.\n");
		}
	}
	rdev->irq.installed = true;