All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC v2 0/5] Add HDMI infoframe helpers
@ 2012-12-05 16:45 Thierry Reding
  2012-12-05 16:45 ` [RFC v2 1/5] drm: Add some missing forward declarations Thierry Reding
                   ` (4 more replies)
  0 siblings, 5 replies; 30+ messages in thread
From: Thierry Reding @ 2012-12-05 16:45 UTC (permalink / raw)
  To: dri-devel

During the development of this series I ran into a couple of build
failures caused by missing forward declarations. They are added in the
first patch of this series.

Patch 2 adds generic helpers to pack a structures that describe HDMI
AVI, audio, vendor-specific or SPD infoframes into the binary format
specified in the HDMI specification. The resulting binary buffer should
be easily programmable into the HDMI controller.

Patch 3 provides a helper to fill an HDMI AVI infoframe with data from
a struct drm_display_mode.

Patches 4 and 5 move the Tegra and Intel drivers over to the new
helpers. I think Rafał volunteered to take a look at porting the Radeon
driver. Besides those there is only Nouveau and Exynos that implement
their own, which I was going to move next.

One item that I have on my TODO list is the ACR computations requested
by Christian König. Before getting into that, however, I wanted to get
version out so that it can be tested on Intel hardware. On Tegra this
series generates identical infoframes as the custom implementation.

Thierry

Thierry Reding (5):
  drm: Add some missing forward declarations
  video: Add generic HDMI infoframe helpers
  drm: Add HDMI infoframe helpers
  drm: tegra: Use generic HDMI infoframe helpers
  drm/i915: Use generic HDMI infoframe helpers

 drivers/gpu/drm/Kconfig           |   9 ++
 drivers/gpu/drm/Makefile          |   1 +
 drivers/gpu/drm/drm_hdmi.c        |  71 +++++++++
 drivers/gpu/drm/i915/intel_drv.h  |  62 +-------
 drivers/gpu/drm/i915/intel_hdmi.c | 268 ++++++++++++++++---------------
 drivers/gpu/drm/i915/intel_sdvo.c |  22 ++-
 drivers/gpu/drm/tegra/Kconfig     |   1 +
 drivers/gpu/drm/tegra/hdmi.c      | 226 +++++++++++++-------------
 drivers/gpu/drm/tegra/hdmi.h      | 189 ----------------------
 drivers/video/Kconfig             |   3 +
 drivers/video/Makefile            |   1 +
 drivers/video/hdmi.c              | 322 ++++++++++++++++++++++++++++++++++++++
 include/drm/drm_crtc.h            |   3 +-
 include/drm/drm_hdmi.h            |  19 +++
 include/linux/hdmi.h              | 220 ++++++++++++++++++++++++++
 15 files changed, 915 insertions(+), 502 deletions(-)
 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.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2012-12-11 10:39 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-05 16:45 [RFC v2 0/5] Add HDMI infoframe helpers Thierry Reding
2012-12-05 16:45 ` [RFC v2 1/5] drm: Add some missing forward declarations Thierry Reding
2012-12-05 16:45 ` [RFC v2 2/5] video: Add generic HDMI infoframe helpers Thierry Reding
2012-12-07 14:32   ` Paulo Zanoni
2012-12-11  7:58     ` Thierry Reding
2012-12-05 16:45 ` [RFC v2 3/5] drm: Add " Thierry Reding
2012-12-05 17:51   ` Lars-Peter Clausen
2012-12-06  7:28     ` Thierry Reding
2012-12-06  8:28       ` Lars-Peter Clausen
2012-12-06 14:09   ` Daniel Vetter
2012-12-06 14:28     ` Thierry Reding
2012-12-06 15:44       ` Daniel Vetter
2012-12-06 16:02         ` Thierry Reding
2012-12-07 19:00   ` Daniel Vetter
2012-12-05 16:45 ` [RFC v2 4/5] drm: tegra: Use generic " Thierry Reding
2012-12-05 16:45 ` [RFC v2 5/5] drm/i915: " Thierry Reding
2012-12-06 14:16   ` Daniel Vetter
2012-12-06 14:23     ` Thierry Reding
2012-12-06 15:57       ` Daniel Vetter
2012-12-06 16:02         ` Thierry Reding
2012-12-06 16:11   ` Paulo Zanoni
2012-12-06 16:55     ` Paulo Zanoni
2012-12-07  7:28       ` Thierry Reding
2012-12-07  8:30         ` Daniel Vetter
2012-12-07  8:49           ` Thierry Reding
2012-12-07  7:22     ` Thierry Reding
2012-12-07 15:11   ` [RFC] " Paulo Zanoni
2012-12-07 15:32     ` Daniel Vetter
2012-12-11 10:39       ` Daniel Vetter
2012-12-11  8:35     ` Thierry Reding

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.