Re: [PATCH v5 3/4] drm/vc4: hdmi: Use drm_atomic_helper_reset_crtc()

Dmitry Baryshkov
2025-02-03T17:32:02Z

On Mon, Feb 03, 2025 at 05:16:05PM +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@bootlin.com>
> ---
> drivers/gpu/drm/vc4/vc4_hdmi.c | 30 +-----------------------------
> 1 file changed, 1 insertion(+), 29 deletions(-)
>

Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

--
With best wishes
Dmitry