summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2023-08-21 06:40:00 +0300
committerRobert Foss <rfoss@kernel.org>2023-10-16 12:38:39 +0300
commitec20c510ee2d2a7f0d0a00e4bfd55c28e500d3b7 (patch)
tree304cd09faf4ba4dec6848398c4a8c526393cf9f9 /include/drm
parente12c4703cec0f07bae2f7cd1538ba9354e92b754 (diff)
downloadlinux-ec20c510ee2d2a7f0d0a00e4bfd55c28e500d3b7.tar.xz
drm/bridge: synopsys: dw-mipi-dsi: Add dw_mipi_dsi_get_bridge() helper
Add dw_mipi_dsi_get_bridge() helper so that it can be used by vendor drivers which implement vendor specific extensions to Synopsys DW MIPI DSI. Signed-off-by: Liu Ying <victor.liu@nxp.com> Reviewed-by: Robert Foss <rfoss@kernel.org> Signed-off-by: Robert Foss <rfoss@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230821034008.3876938-2-victor.liu@nxp.com
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/bridge/dw_mipi_dsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/bridge/dw_mipi_dsi.h b/include/drm/bridge/dw_mipi_dsi.h
index 5286a53a1875..f54621b17a69 100644
--- a/include/drm/bridge/dw_mipi_dsi.h
+++ b/include/drm/bridge/dw_mipi_dsi.h
@@ -11,6 +11,7 @@
#include <linux/types.h>
+#include <drm/drm_bridge.h>
#include <drm/drm_modes.h>
struct drm_display_mode;
@@ -68,5 +69,6 @@ void dw_mipi_dsi_remove(struct dw_mipi_dsi *dsi);
int dw_mipi_dsi_bind(struct dw_mipi_dsi *dsi, struct drm_encoder *encoder);
void dw_mipi_dsi_unbind(struct dw_mipi_dsi *dsi);
void dw_mipi_dsi_set_slave(struct dw_mipi_dsi *dsi, struct dw_mipi_dsi *slave);
+struct drm_bridge *dw_mipi_dsi_get_bridge(struct dw_mipi_dsi *dsi);
#endif /* __DW_MIPI_DSI__ */