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.barysh...@linaro.org>
---
 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

Reply via email to