diff mbox series

[RFC,4/6] drm/connector: hdmi: add opaque data type

Message ID 20240308-bridge-hdmi-connector-v1-4-90b693550260@linaro.org
State New
Headers show
Series drm/msm: make use of the HDMI connector infrastructure | expand

Commit Message

Dmitry Baryshkov March 7, 2024, 11:57 p.m. UTC
HDMI bridge drivers need to store private data pointer to be used from
drm_connector_hdmi_funcs::write_infoframes() and clear_infoframes()
callbacks. Add it to the drm_connector.hdmi structure.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 include/drm/drm_connector.h | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h
index 37d54d5ff0d6..d5c240ad7c5f 100644
--- a/include/drm/drm_connector.h
+++ b/include/drm/drm_connector.h
@@ -2088,6 +2088,11 @@  struct drm_connector {
 		 */
 		const struct drm_connector_hdmi_funcs *funcs;
 
+		/**
+		 * @data: Internal data pointer used by the HDMI connector funcs.
+		 */
+		void *data;
+
 		/**
 		 * @infoframes: Current Infoframes output by the connector
 		 */