Skip to content

Boux/nvidia-550xx-dkms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forked from: https://aur.archlinux.org/packages/nvidia-550xx-dkms

Kernel 6.17+ Compatibility Patch

This fork includes 0005-kernel-nvidia-Fulfill-6.17-fb_create-contract.patch to fix compilation on Linux kernel 6.17 and later (including 6.18).

The Problem

Linux kernel 6.17 changed the signature of drm_helper_mode_fill_fb_struct() to include a new const struct drm_format_info * parameter (kernel commit a34cc7bf1034). This breaks NVIDIA 550.xx driver compilation with errors like:

error: incompatible function pointer types
error: too few arguments to function call, expected 4, have 3

The Solution

The patch adds conditional compilation using LINUX_VERSION_CODE to support the new API while remaining backwards compatible with older kernels.

Attribution

  • Original patch by: Joan Bruguera Mico (nvidia-470xx-linux-mainline)
  • Adapted for nvidia-550xx-dkms with assistance from Claude (Anthropic AI)

References

About

attempting to make the 550xx driver work with 6.18 kernel or newer

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages