This small series is very much work in progress, but I still wanted to get feedback in this early stage to gather requirements from the folks working on the display drivers that these helpers target. Patch 1 in the series adds a generic helper to pack a structure that describes an HDMI AVI infoframe into the binary format as specified in the HDMI specification. The resulting binary buffer should be easily programmable into the HDMI controller. Patch 2 provides a helper to fill an HDMI AVI infoframe with data from a struct drm_display_mode. This is all pretty rough right now, but I think some feedback would be good at this point, to see if the design is at all sensible. I should also mention that I haven't actually tested this on real hardware yet. Furthermore I have plans to add something similar for the other types of infoframes specified by HDMI once the direction becomes clearer. Thierry Thierry Reding (2): video: Add generic HDMI helpers drm: Add HDMI helpers drivers/gpu/drm/Kconfig | 7 +++ drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_hdmi.c | 107 ++++++++++++++++++++++++++++++++++++++++ drivers/video/Kconfig | 3 ++ drivers/video/Makefile | 1 + drivers/video/hdmi.c | 84 ++++++++++++++++++++++++++++++++ include/drm/drm_hdmi.h | 18 +++++++ include/linux/hdmi.h | 119 +++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 340 insertions(+) create mode 100644 drivers/gpu/drm/drm_hdmi.c create mode 100644 drivers/video/hdmi.c create mode 100644 include/drm/drm_hdmi.h create mode 100644 include/linux/hdmi.h -- 1.8.0 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel