Frogging-Family / nvidia-all

Nvidia driver latest to 396 series AIO installer
733 stars 64 forks source link

470.x: backport acpi changes from 515.x [1] #127

Closed Jebaitedneko closed 1 year ago

Jebaitedneko commented 1 year ago

[1] https://github.com/NVIDIA/open-gpu-kernel-modules

Specifically, parts of these two commits: https://github.com/NVIDIA/open-gpu-kernel-modules/commit/965db985520c0c2aefa56dc2e81f9bfa67e91375 https://github.com/NVIDIA/open-gpu-kernel-modules/commit/98553501593ef05bddcc438689ed1136f732d40a

The patch also adds __get_task_ioprio() support when detected via conftest

Additionally, add 470.x to the whitelist for applying the drm_framebuffer inclusion as in https://github.com/Frogging-Family/nvidia-all/commit/f56d6244c24022cfa8b018822c47e274c90dbeac

Tested to work on NVIDIA GK107 [GeForce GTX 650] with 6.0.0-arch1-1

Signed-off-by: Jebaitedneko Jebaitedneko@gmail.com

Jebaitedneko commented 1 year ago

The patch might be viable for other driver versions as well but i haven't tested it with any other ones

Tk-Glitch commented 1 year ago

Looks good to me, thank you! :frog: :heart:

That leaves us with 495, if it makes sense to support on newer kernels. 470 is important due to Kepler support drop, but 495 might not make as much sense.