]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/atomic-helper: Change parameter name of drm_atomic_helper_cleanup_planes()
authorMaxime Ripard <mripard@kernel.org>
Thu, 13 Feb 2025 14:43:43 +0000 (15:43 +0100)
committerMaxime Ripard <mripard@kernel.org>
Wed, 19 Feb 2025 15:59:23 +0000 (16:59 +0100)
commit6280e96f8a5dcee3125d8963bc80773c99536429
tree7d8e326995d16827df0af2ce76dc2640e7c37b03
parente64834b5094ff4ef2cfd960b82f69c2c26345501
drm/atomic-helper: Change parameter name of drm_atomic_helper_cleanup_planes()

drm_atomic_helper_cleanup_planes() is one of the final part of a commit,
and will free up all plane resources used in the previous commit.  It
takes the drm_atomic_state being committed as a parameter.

However, that parameter name is called (and documented) as old_state,
which is pretty confusing. Let's rename that variable as state.

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