[RFC 0/2] Add HDMI helpers
Thierry Reding
thierry.reding at avionic-design.de
Wed Nov 21 07:01:51 PST 2012
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
More information about the dri-devel
mailing list