]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/atomic-helper: Fix commit_tail state variable name
authorMaxime Ripard <mripard@kernel.org>
Thu, 13 Feb 2025 14:43:25 +0000 (15:43 +0100)
committerMaxime Ripard <mripard@kernel.org>
Wed, 19 Feb 2025 15:59:13 +0000 (16:59 +0100)
commit6d5815e22981500b189eb6aa2a0f8017d5f7fab7
tree4bdc651ce0227fd953a2ab676ea9ee6098f330a2
parentf82fe0d44913248877450584c27992c5b0f96ce7
drm/atomic-helper: Fix commit_tail state variable name

Even though the commit_tail () drm_atomic_state parameter is called
old_state, it's actually the state being committed which is confusing.

It's even more confusing since the atomic_commit_tail hook being called
by commit_tail() parameter is called state.

Let's rename the variable from old_state to state to make it less
confusing.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20250213-bridge-connector-v3-6-e71598f49c8f@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/drm_atomic_helper.c