Re: [PATCH v2 15/35] drm/atomic-helper: Change parameter name of crtc_set_mode()
From: Dmitry Baryshkov
Date: Sun Feb 09 2025 - 00:10:57 EST
On Tue, Feb 04, 2025 at 03:57:43PM +0100, Maxime Ripard wrote:
> crtc_set_mode() deals with calling the modeset related hooks for CRTC,
> connectors and bridges if and when a new commit changes them. It takes
> the drm_atomic_state being committed as a parameter.
>
> However, that parameter name is called 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 | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
--
With best wishes
Dmitry