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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 include/drm/drm_connector.h | 5 +++++
 1 file changed, 5 insertions(+)

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
 		 */

-- 
2.39.2





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux