[PATCH v2 15/35] drm/atomic-helper: Change parameter name of crtc_set_mode()
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Sun Feb 9 05:08:51 UTC 2025
On Tue, Feb 04, 2025 at 03:57:43PM +0100, Maxime Ripard wrote:
> 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.
>
> Signed-off-by: Maxime Ripard <mripard at kernel.org>
> ---
> drivers/gpu/drm/drm_atomic_helper.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list