mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 20:38:04 +02:00
[intel] Quirk away MSI support on 945G/GM.
The PCI caps register reports MSI support even though it isn't really there.
This commit is contained in:
parent
c847271179
commit
e7424e4580
1 changed files with 10 additions and 1 deletions
|
|
@ -628,7 +628,16 @@ static int probe(struct pci_dev *pdev, const struct pci_device_id *ent)
|
|||
{
|
||||
int ret;
|
||||
|
||||
(void) pci_enable_msi(pdev);
|
||||
/* On the 945G/GM, the chipset reports the MSI capability on the
|
||||
* integrated graphics even though the support isn't actually there
|
||||
* according to the published specs. It doesn't appear to function
|
||||
* correctly in testing on 945G.
|
||||
* This may be a side effect of MSI having been made available for PEG
|
||||
* and the registers being closely associated.
|
||||
*/
|
||||
if (pdev->device != 0x2772 && pdev->device != 0x27A2)
|
||||
(void )pci_enable_msi(pdev);
|
||||
|
||||
ret = drm_get_dev(pdev, ent, &driver);
|
||||
if (ret && pdev->msi_enabled)
|
||||
pci_disable_msi(pdev);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue