mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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]>
13 lines
298 B
C
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_
|