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

crtc_set_mode() deals with calling the modeset related hooks for CRTC,
connectors and bridges if and when a new commit changes them. 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-15-e71598f49c8f@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/drm_atomic_helper.c