Files
nvdriver/kernel-open
Gabriel A. Devenyi 7f7dce5fa1 nvidia-drm: build against kernels that renamed drm_atomic_state to drm_atomic_commit (#541)
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>
2026-12-04 16:15:30 -08:00
..