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

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Sun Feb 9 05:08:24 UTC 2025


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 at kernel.org>
> ---
>  drivers/gpu/drm/drm_atomic_helper.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>

-- 
With best wishes
Dmitry


More information about the dri-devel mailing list