maintainer-approval requested: [Bug 291212] x11/nvidia-driver: CURRENT fails to load kernel module due to commit 9562994a7aacee2baae6ddee1a7b558b48ae39ef : [Attachment 266772] Updated patch that switches to limited symbols to export

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Tomoaki AOKI <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-approval:
Bug 291212: x11/nvidia-driver: CURRENT fails to load kernel module due to
commit 9562994a7aacee2baae6ddee1a7b558b48ae39ef
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291212

Attachment 266772: Updated patch that switches to limited symbols to export
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266772&action=edit



--- Comment #18 from Tomoaki AOKI <[email protected]> ---
Created attachment 266772
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=266772&action=edit
Updated patch that switches to limited symbols to export

Compared precisely between nvidia.ko, nvidia-modeset.ko and nvidia-drm.ko.
Turned out that 8 symbols are common to nvidia.ko and nvidia-drm.ko.
nvidia-modeset.ko didn't actually needed to be patched.

So created patch to limit to those symbols instead of "EXPORT_SYMS=  YES".

As there's no need to rebuild graphics/nvidia-drm-*-kmod[-devel],
bumped PORTREVISION only for x11/nvidia-kmod[-devel] that need rebuilds.

Tested on stable/15 at commit base 4e48e50ea5982387a1c9f164953315f7fe1f76a3
and main at commit base 7685aaea8850f5b6995a17740a016019e0956c70,
with driver version 590.48.01 (now landed on main branch of ports tree).

Intentionally keep previous one to allow rolling back.
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.