Files
linux/include/drm/drm_bridge_helper.h
T
Maxime Ripard 56ae621241 drm/bridge: Add helper to reset bridge pipeline
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.

Reviewed-by: Herve Codina <[email protected]>
Reviewed-by: Simona Vetter <[email protected]>
Tested-by: Herve Codina <[email protected]>
Co-developed-by: Simona Vetter <[email protected]>
Signed-off-by: Simona Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Maxime Ripard <[email protected]>
2025-03-20 14:45:48 +01:00

13 lines
298 B
C

// SPDX-License-Identifier: GPL-2.0-or-later
#ifndef __DRM_BRIDGE_HELPER_H_
#define __DRM_BRIDGE_HELPER_H_
struct drm_bridge;
struct drm_modeset_acquire_ctx;
int drm_bridge_helper_reset_crtc(struct drm_bridge *bridge,
struct drm_modeset_acquire_ctx *ctx);
#endif // __DRM_BRIDGE_HELPER_H_