maintainer-approval requested: [Bug 296195] graphics/nvidia-drm-612-kmod, graphics/drm-612-kmod: General Protection Fault in __nv_drm_gem_nvkms_handle_vma_fault, lkpi_vmf_insert_pnf_prot_locked, vm_page_busy_acquire : [Attachment 272323] Patch to apply onto ports tree
| 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 296195: graphics/nvidia-drm-612-kmod, graphics/drm-612-kmod: General Protection Fault in __nv_drm_gem_nvkms_handle_vma_fault, lkpi_vmf_insert_pnf_prot_locked, vm_page_busy_acquire https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296195 Attachment 272323: Patch to apply onto ports tree https://bugs.freebsd.org/bugzilla/attachment.cgi?id=272323&action=edit --- Comment #22 from Tomoaki AOKI <[email protected]> --- Created attachment 272323 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=272323&action=edit Patch to apply onto ports tree Fortunately, no one others pops in claiming the patch doesn't work. So reorganized previous patch as below. *Distribute centralized patches into each master ports. *Remove an exisiting unconditional patch from graphics/nvidia-drm-515-kmod and re-implement as REINPLACE in graphics/nvidia-drm-kmod/Makefile.common with additional comments for clarification. *PORTREVISION bumps to let official pkg builders to pick these. Note that metaports graphics/nvidia-drm-kmod{-580|-devel} are NOT bumped as these should be NO need to be rebuilt here. The second item is because the patch patch-nvidia-drm-gem.c is unlikely to be upstreamed (as upstream driver tarball does NOT provided per-DRM version basis) and could be easily forgotton what for in the future. Even though the implementation is a bit ugly, but REINPLACE with comments would be harder to be forgotton "why". A review would be opened for this shortly.