[PATCH v3 16/37] drm/atomic-helper: Change parameter name of drm_atomic_helper_commit_planes()

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Thu Feb 13 16:18:16 UTC 2025


On Thu, Feb 13, 2025 at 03:43:35PM +0100, Maxime Ripard wrote:
> drm_atomic_helper_commit_planes() updates all planes affected by a new
> 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 | 24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)
> 

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

-- 
With best wishes
Dmitry


More information about the dri-devel mailing list