mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 14:38:47 +00:00
Linux 7.3 renamed the atomic state container to struct drm_atomic_commit, and the plane and CRTC atomic helper callbacks take the renamed type, so nvidia_rs_drm.c fails to compile there with eight incompatible-pointer errors (reported in #533). Probe the definition in <drm/drm_atomic.h> from compat_probes.mk, as the other DRM guards do, and use a typedef in the five callbacks. No behaviour change on either side of the rename. Claude-Session: https://claude.ai/code/session_01W53iUSBQkEg9aqwF4AoBHi Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>