[PATCH] drm: clarify adjusted_mode for a bridge connected to a crtc

From: Philippe Cornu
Date: Mon Feb 26 2018 - 07:17:57 EST


This patch clarifies the adjusted_mode documentation
for a bridge directly connected to a crtc.

Signed-off-by: Philippe Cornu <philippe.cornu@xxxxxx>
---
This patch is linked to the discussion https://lkml.org/lkml/2018/1/25/367

include/drm/drm_bridge.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h
index 3270fec46979..b5f3c070467c 100644
--- a/include/drm/drm_bridge.h
+++ b/include/drm/drm_bridge.h
@@ -177,7 +177,8 @@ struct drm_bridge_funcs {
* pipeline has been called already. If the bridge is the first element
* then this would be &drm_encoder_helper_funcs.mode_set. The display
* pipe (i.e. clocks and timing signals) is off when this function is
- * called.
+ * called. If the bridge is connected to the crtc, the adjusted_mode
+ * parameter is the one defined in &drm_crtc_state.adjusted_mode.
*/
void (*mode_set)(struct drm_bridge *bridge,
struct drm_display_mode *mode,
--
2.15.1