Re: [PATCH v2 14/35] drm/atomic-helper: Change parameter name of drm_atomic_helper_update_legacy_modeset_state()

From: Dmitry Baryshkov
Date: Sun Feb 09 2025 - 00:10:47 EST


On Tue, Feb 04, 2025 at 03:57:42PM +0100, Maxime Ripard wrote:
> drm_atomic_helper_update_legacy_modeset_state() updates all the legacy
> modeset pointers a connector, encoder or CRTC might have with the ones
> being setup by a given 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.
>
> Signed-off-by: Maxime Ripard <mripard@xxxxxxxxxx>
> ---
> drivers/gpu/drm/drm_atomic_helper.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

--
With best wishes
Dmitry