All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/2] Add HDMI helpers
@ 2012-11-21 15:01 Thierry Reding
  2012-11-21 15:01 ` [RFC 1/2] video: Add generic " Thierry Reding
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Thierry Reding @ 2012-11-21 15:01 UTC (permalink / raw)
  To: Dave Airlie; +Cc: dri-devel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-11-23  9:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-21 15:01 [RFC 0/2] Add HDMI helpers Thierry Reding
2012-11-21 15:01 ` [RFC 1/2] video: Add generic " Thierry Reding
2012-11-21 15:01 ` [RFC 2/2] drm: Add " Thierry Reding
2012-11-23  9:24 ` [RFC 0/2] " Christian König
2012-11-23  9:38   ` Thierry Reding
2012-11-23  9:54     ` Christian König
2012-11-23  9:42   ` Rafał Miłecki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.