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

From
Dmitry Baryshkov <hidden>
Date
2025-02-03 17:32:02
Also in
dri-devel, lkml
Reply to
Herve Codina, 2025-02-03
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 <redacted>

-- 
With best wishes
Dmitry
Thread (16 messages) 16 messages, 4 authors, last reply 2025-02-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help