linux/drivers/gpu/drm/ci
Maxime Ripard 5164f7e7ff drm: Rename struct drm_atomic_state to drm_atomic_commit
The KMS framework uses two slightly different definitions for the state
concept. For a given object (plane, CRTC, encoder, etc., so
drm_$OBJECT_state), the state is the entire state of that object.
However, at the device level, drm_atomic_state refers to a state update
for a limited number of objects.

Thus, drm_atomic_state isn't the entire device state, but only the full
state of some objects in that device. This has been an endless source of
confusion and thus bugs.

We can rename the drm_atomic_state structure to drm_atomic_commit to
make it less confusing.

This patch was created using:

rg -l drm_atomic_state | \
	xargs sed -i 's/drm_atomic_state/drm_atomic_commit/g; s/drm_atomic_commit_helper/drm_atomic_state_helper/g'
mv drivers/gpu/drm/tests/drm_atomic_state_test.c drivers/gpu/drm/tests/drm_atomic_commit_test.c

Acked-by: Simona Vetter <simona.vetter@ffwll.ch>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patch.msgid.link/20260427-drm-drm-atomic-update-v4-1-c0e713bfdf25@kernel.org
History 2026-05-04 14:05:04 +10:00
..
xfails drm: Rename struct drm_atomic_state to drm_atomic_commit 2026-05-04 14:05:04 +10:00
arm.config watchdog: softlockup: panic when lockup duration exceeds N thresholds 2026-01-20 19:44:20 -08:00
arm64.config Merge tag 'drm-msm-next-2026-04-02' of https://gitlab.freedesktop.org/drm/msm into drm-next 2026-04-03 18:57:00 +10:00
build-igt.sh drm/ci: uprev mesa and ci-templates 2025-06-28 20:02:33 -07:00
build.sh drm/ci: add rk3588-rock-5b 2026-03-25 02:15:37 +02:00
build.yml drm/ci: uprev mesa 2026-03-25 02:15:27 +02:00
check-devicetrees.yml drm/ci: Add jobs to validate devicetrees 2025-06-23 11:42:20 +02:00
check-patch.py drm: Add initial ci/ subdirectory 2023-08-29 19:56:11 +02:00
container.yml drm/ci: uprev mesa 2026-03-25 02:15:27 +02:00
dt-binding-check.sh drm/ci: Add jobs to validate devicetrees 2025-06-23 11:42:20 +02:00
dtbs-check.sh drm/ci: Add jobs to validate devicetrees 2025-06-23 11:42:20 +02:00
gitlab-ci.yml drm/ci: add rk3588-rock-5b 2026-03-25 02:15:37 +02:00
igt_runner.sh drm/ci: add rk3588-rock-5b 2026-03-25 02:15:37 +02:00
image-tags.yml drm/ci: uprev mesa 2026-03-25 02:15:27 +02:00
kunit.sh drm/ci: Add jobs to run KUnit tests 2025-06-23 11:42:26 +02:00
kunit.yml drm/ci: Add jobs to run KUnit tests 2025-06-23 11:42:26 +02:00
lava-submit.sh drm/ci: uprev mesa 2026-03-25 02:15:27 +02:00
setup-llvm-links.sh drm/ci: Add jobs to validate devicetrees 2025-06-23 11:42:20 +02:00
static-checks.yml drm/ci: uprev mesa 2026-03-25 02:15:27 +02:00
test.yml drm/ci: add rk3588-rock-5b 2026-03-25 02:15:37 +02:00
x86_64.config watchdog: softlockup: panic when lockup duration exceeds N thresholds 2026-01-20 19:44:20 -08:00