]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/vc4: hdmi: Use drm_atomic_helper_reset_crtc()
authorHerve Codina <herve.codina@bootlin.com>
Mon, 10 Feb 2025 13:26:18 +0000 (14:26 +0100)
committerMaxime Ripard <mripard@kernel.org>
Thu, 13 Feb 2025 15:17:47 +0000 (16:17 +0100)
commit9f3f59382a4e83c9fdfbaf1d8eb2ccfcd51cd38c
treed8281b7183c350a2e79b222dda887a9f89f9552a
parentab83b7f6a0c10b5e040ae60bc6789ff89dd9488c
drm/vc4: hdmi: Use drm_atomic_helper_reset_crtc()

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>
Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250210132620.42263-4-herve.codina@bootlin.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/vc4/vc4_hdmi.c