forked from Minki/linux
drm/radeon/kms: don't enable MSIs on AGP boards
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=29327 Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
e57415d85f
commit
da7be684c5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user