summary refs log tree commit diff
path: root/include/drm
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-02-26 13:24:24 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2020-02-26 13:31:20 +0200
commitbe39f3db0146152b1f0b55df0891b7479f7e9f46 (patch)
treea71a6a4c7b54669c5b691952bc0e563a8d53ee33 /include/drm
parenta92d083d08b008d0507f1191c3610b3e185309eb (diff)
downloadlinux-be39f3db0146152b1f0b55df0891b7479f7e9f46.tar.gz
drm/bridge: Document the drm_encoder.bridge_chain field as private
The drm_encoder.bridge_chain is not meant to be touched manually by
drivers. Make this clear in the documentation.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200226112514.12455-5-laurent.pinchart@ideasonboard.com
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_encoder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/drm_encoder.h b/include/drm/drm_encoder.h
index 5623994b6e9e..4370e039c015 100644
--- a/include/drm/drm_encoder.h
+++ b/include/drm/drm_encoder.h
@@ -174,7 +174,8 @@ struct drm_encoder {
 	struct drm_crtc *crtc;
 
 	/**
-	 * @bridge_chain: Bridges attached to this encoder.
+	 * @bridge_chain: Bridges attached to this encoder. Drivers shall not
+	 * access this field directly.
 	 */
 	struct list_head bridge_chain;