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

disable_outputs() disables all connectors and CRTCs affected by a
commit. It takes the drm_atomic_state being committed as a parameter.

However, that parameter name is called 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-11-e71598f49c8f@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/drm_atomic_helper.c