[PATCH v5 08/16] drm/bridge: Add helper to reset bridge pipeline

Herve Codina herve.codina at bootlin.com
Thu Mar 6 08:12:56 UTC 2025


Hi Maxime,

On Tue, 04 Mar 2025 12:10:51 +0100
Maxime Ripard <mripard at kernel.org> wrote:

> Let's provide an helper to make it easier for bridge drivers to
> power-cycle their bridge.
> 
> In order to avoid a circular dependency between that new helper and
> drm_atomic_helper_reset_crtc(), this new helper will be in a
> drm_bridge_helper.c file to follow the pattern we have for other
> objects.
> 
> Co-developed-by: Simona Vetter <simona.vetter at ffwll.ch>
> Signed-off-by: Maxime Ripard <mripard at kernel.org>
> ---
>  drivers/gpu/drm/Makefile            |  1 +
>  drivers/gpu/drm/drm_bridge_helper.c | 55 +++++++++++++++++++++++++++++++++++++
>  include/drm/drm_bridge_helper.h     | 12 ++++++++
>  3 files changed, 68 insertions(+)
> 

Reviewed-by: Herve Codina <herve.codina at bootlin.com>

Also tested on my system using the ti-sn65dsi83 driver (updated in this series)
with faults manually generated on the hardware. No regressions were observed in
the driver recovery process. Works fine.

Tested-by: Herve Codina <herve.codina at bootlin.com>

Best regards,
Hervé


More information about the dri-devel mailing list