[PATCH 15/18] drm/encoder: Add of_graph port to struct drm_encoder
Sascha Hauer
s.hauer at pengutronix.de
Wed Dec 8 07:12:27 PST 2021
Add a device node to drm_encoder which corresponds with the port node
in the DT description of the encoder. This allows drivers to find the
of_graph link between a crtc and an encoder.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
include/drm/drm_encoder.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/drm/drm_encoder.h b/include/drm/drm_encoder.h
index 6e91a0280f31b..3acd054b1eb3e 100644
--- a/include/drm/drm_encoder.h
+++ b/include/drm/drm_encoder.h
@@ -99,6 +99,8 @@ struct drm_encoder {
struct drm_device *dev;
struct list_head head;
+ struct device_node *port;
+
struct drm_mode_object base;
char *name;
/**
--
2.30.2
More information about the Linux-rockchip
mailing list