Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
MSI DRMKMS
On Wed, Dec 19, 2018 at 09:20:56AM +0000, Maya Rashish wrote:
> Modified Files:
> src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pci:
> nouveau_nvkm_subdev_pci_base.c
>
> Log Message:
> Disable MSI/MSI-X for nouveau.
So, nouveau has its own code now, for some reason.
Any testers for re-enabling nonaka's msi diff? :-)
Index: linux/linux_pci.c
===================================================================
RCS file: /cvsroot/src/sys/external/bsd/drm2/linux/linux_pci.c,v
retrieving revision 1.6
diff -u -r1.6 linux_pci.c
--- linux/linux_pci.c 28 Aug 2018 03:41:39 -0000 1.6
+++ linux/linux_pci.c 19 Dec 2018 09:47:24 -0000
@@ -257,7 +257,6 @@
int
pci_enable_msi(struct pci_dev *pdev)
{
-#ifdef notyet
const struct pci_attach_args *const pa = &pdev->pd_pa;
if (pci_msi_alloc_exact(pa, &pdev->pd_intr_handles, 1))
@@ -265,9 +264,6 @@
pdev->msi_enabled = 1;
return 0;
-#else
- return -ENOSYS;
-#endif
}
void
Home |
Main Index |
Thread Index |
Old Index