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

Dmitry Baryshkov dmitry.baryshkov at linaro.org
Sun Feb 9 02:03:27 UTC 2025


On Tue, Feb 04, 2025 at 03:57:37PM +0100, Maxime Ripard wrote:
> drm_atomic_helper_commit_tail_rpm() is the final part of an atomic
> commit, and is given the state being committed as a parameter.
> 
> However, that parameter is named old_state, but documented as the "new
> modeset state" which is all super confusing.
> 
> Let's rename that parameter to state.
> 
> Signed-off-by: Maxime Ripard <mripard at kernel.org>
> ---
>  drivers/gpu/drm/drm_atomic_helper.c | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)
> 

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

-- 
With best wishes
Dmitry


More information about the dri-devel mailing list