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

drm_atomic_helper_modeset_disables() disables all the outputs affected
by a 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-10-e71598f49c8f@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/drm_atomic_helper.c