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

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Sun Feb 9 02:11:19 UTC 2025


On Tue, Feb 04, 2025 at 03:57:38PM +0100, Maxime Ripard wrote:
> drm_atomic_helper_modeset_disables() disables all the outputs affected
> by a 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