Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: panic after DRM & nouveau MSI changes



On Tue, 11 Feb 2020, Jarom√≠r Doleń~Mek wrote:

> If it's something simple let's fix it and enable MSI unconditionally,
> if it would be something difficult then it would be reasonable to add
> some conditionals to enable MSI only for non-nouveau.

At present, simply rolling back:

  sys/external/bsd/drm2/linux/linux_pci.c

to the revision where MSI is enabled (r1.8 in -current) allows intel-
and radeon-equipped machines to use MSI, while nouveau has it explicitly
disabled in the HEAD revision of:

  sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci/nouveau_nvkm_subdev_pci_base.c

so nouveau machines use INTx.

I've checked this with plain GENERIC and one with the above file rolled
back.  With plain generic, nouveau, intel, and radeon all work and have
MSI off.  With the modified GENERIC, nouveau systems work (MSI off) and
intel and radeon systems work (MSI on).

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index