[Bug 289647] graphics/drm-61-kmod: X11 with nvidia-drm-61-kmod fails to start after commit ac934345a14f

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289647

--- Comment #21 from Bjoern A. Zeeb <[email protected]> ---
Created attachment 263904
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263904&action=edit
Patch for pdrv against nvidia-drm-66

This is the patch which would give a pdrv to linux_pci_attach_device() with
isdrm set hard.
It adds dummy callback functions as not all of LinuxKPI checks for NULL there
(and some functions may probably not be NULL in Linux either).

This would change the current behaviour as to how pdev->devfn is calculated.  
If this fixes the problem then we catch two for one likely and in any previous
version the native PCI calls in drm did hide the fact that this was never
calculated correctly.

If it does not help I'll email the debug patch later today as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.