]> Gentwo Git Trees - linux/.git/commit
drm/atomic: Change state pointers to a more meaningful name
authorMaxime Ripard <mripard@kernel.org>
Wed, 8 Oct 2025 13:11:42 +0000 (15:11 +0200)
committerMaxime Ripard <mripard@kernel.org>
Mon, 13 Oct 2025 09:00:07 +0000 (11:00 +0200)
commit1226cd7c7686aee9363ec39a8a80292e27216c6b
treea0bbbcbae132e93e4a35e324f8cc728b71101bb4
parent9b966ae42235a88eaea714be09ff3d698535bdfe
drm/atomic: Change state pointers to a more meaningful name

The state pointer found in the struct drm_atomic_state internals for
most object is a bit ambiguous, and confusing when those internals also
have old state and new state.

After the recent cleanups, the state pointer only use is to point to the
state we need to free when destroying the atomic state.

We can thus rename it something less ambiguous, and hopefully more
meaningful.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20251008-drm-rename-state-v2-1-49b490b2676a@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_atomic_helper.c
include/drm/drm_atomic.h