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

drm_atomic_helper_wait_for_dependencies() is the final part of a commit
and signals it completion. 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-25-e71598f49c8f@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/drm_atomic_helper.c