diff mbox series

[1/3] drm: bridge: Add DSI HS clock frequency limits to bridge state

Message ID 20221026153559.387041-1-marex@denx.de (mailing list archive)
State New, archived
Headers show
Series [1/3] drm: bridge: Add DSI HS clock frequency limits to bridge state | expand

Commit Message

Marek Vasut Oct. 26, 2022, 3:35 p.m. UTC
Add the ability to pass DSI HS clock frequency constraints between
neighboring DSI bridges via struct drm_bridge_state . This way the
DSI HS clock frequency negotiation can be implemented instead of
the current ad-hoc method where each bridge attempts to guess the
neighbor HS clock frequency setting or expectation.

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Maxime Ripard <maxime@cerno.tech>
Cc: Robert Foss <robert.foss@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
---
 include/drm/drm_atomic.h | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h
index 10b1990bc1f68..eece7557933d2 100644
--- a/include/drm/drm_atomic.h
+++ b/include/drm/drm_atomic.h
@@ -1117,6 +1117,8 @@  struct drm_bridge_state {
 	 * @input_bus_cfg: input bus configuration
 	 */
 	struct drm_bus_cfg input_bus_cfg;
+	unsigned long hs_rate_min;
+	unsigned long hs_rate_max;
 
 	/**
 	 * @output_bus_cfg: input bus configuration