Re: [PATCH v4 3/4] drm/vc4: hdmi: Use drm_atomic_helper_reset_crtc()
From: Dmitry Baryshkov
Date: Mon Feb 03 2025 - 10:57:03 EST
On Mon, Feb 03, 2025 at 03:58:22PM +0100, Herve Codina wrote:
> The current code uses a the reset_pipe() local function to reset the
> CRTC outputs.
>
> drm_atomic_helper_reset_crtc() has been introduced recently and it
> performs exact same operations.
>
> In order to avoid code duplication, use the new helper instead of the
> local function.
>
> Signed-off-by: Herve Codina <herve.codina@xxxxxxxxxxx>
> ---
> drivers/gpu/drm/vc4/vc4_hdmi.c | 30 +-----------------------------
> 1 file changed, 1 insertion(+), 29 deletions(-)
>
Acked-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
--
With best wishes
Dmitry