提交 c414a117 编写于 作者: A Alex Deucher 提交者: Dave Airlie

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: NAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 f46c0120
...@@ -114,13 +114,11 @@ int radeon_irq_kms_init(struct radeon_device *rdev) ...@@ -114,13 +114,11 @@ int radeon_irq_kms_init(struct radeon_device *rdev)
} }
/* enable msi */ /* enable msi */
rdev->msi_enabled = 0; rdev->msi_enabled = 0;
/* MSIs don't seem to work on my rs780; /* MSIs don't seem to work reliably on all IGP
* not sure about rs880 or other rs780s. * chips. Disable MSI on them for now.
* Needs more investigation.
*/ */
if ((rdev->family >= CHIP_RV380) && if ((rdev->family >= CHIP_RV380) &&
(rdev->family != CHIP_RS780) && (!(rdev->flags & RADEON_IS_IGP))) {
(rdev->family != CHIP_RS880)) {
int ret = pci_enable_msi(rdev->pdev); int ret = pci_enable_msi(rdev->pdev);
if (!ret) { if (!ret) {
rdev->msi_enabled = 1; rdev->msi_enabled = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册