Skip to content
Snippets Groups Projects
Verified Commit 9f3f5938 authored by Herve Codina's avatar Herve Codina Committed by Maxime Ripard
Browse files

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: default avatarHerve Codina <herve.codina@bootlin.com>
Acked-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Maxime Ripard's avatarMaxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250210132620.42263-4-herve.codina@bootlin.com


Signed-off-by: Maxime Ripard's avatarMaxime Ripard <mripard@kernel.org>
parent ab83b7f6
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment