linux/drivers/gpu/drm/vboxvideo
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
2026-05-04 14:05:04 +10:00
..
hgsmi_base.c drm/vboxvideo: Remove unused hgsmi_cursor_position 2025-02-28 09:05:10 +01:00
hgsmi_ch_setup.h
hgsmi_channels.h
hgsmi_defs.h drm/vboxvideo: Replace HTTP links with HTTPS ones 2020-07-16 22:12:50 +02:00
Kconfig drm/vboxvideo: Run DRM default client setup 2024-09-26 09:31:28 +02:00
Makefile drm/vboxvideo: Switch to generic fbdev emulation 2019-10-16 09:58:30 +02:00
modesetting.c drm/vboxvideo/modesetting: Provide function names for prototype headers 2021-06-03 13:33:18 +02:00
vbox_drv.c drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
vbox_drv.h drm: remove driver date from struct drm_driver and all drivers 2024-12-05 12:35:42 +02:00
vbox_hgsmi.c drm/vboxvideo: Replace HTTP links with HTTPS ones 2020-07-16 22:12:50 +02:00
vbox_irq.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
vbox_main.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
vbox_mode.c drm: Rename struct drm_atomic_state to drm_atomic_commit 2026-05-04 14:05:04 +10:00
vbox_ttm.c drm: include drm_print.h where needed 2025-10-31 10:34:52 +02:00
vboxvideo_guest.h drm/vboxvideo: Remove unused hgsmi_cursor_position 2025-02-28 09:05:10 +01:00
vboxvideo_vbe.h
vboxvideo.h drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA 2024-09-14 13:32:15 +02:00
vbva_base.c