[PATCH v4 0/9] Add HDMI infoframe helpers

Alex Deucher alexdeucher at gmail.com
Thu Feb 21 09:38:02 PST 2013


On Thu, Feb 21, 2013 at 9:50 AM, Thierry Reding
<thierry.reding at avionic-design.de> wrote:
> The first three patches are of a janitorial nature. The first removes
> the duplicate implementation of drm_mode_cea_vic(). The second patch
> moves the various mode tables from drm_edid_modes.h to drm_edid.c in
> order to localize them in one source file instead of potentially
> including the header file in multiple locations and duplicating the
> tables. The third patch fixes build issues due to some missing forward
> declarations
>
> Patch 4 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 5 provides a helper to fill an HDMI AVI infoframe with data from
> a struct drm_display_mode.
>
> Patch 6 adds the DRM EDID helpers (including the new DRM HDMI helper
> from patch 5) to the DRM DocBook documentation.
>
> Patch 7, 8 and 9 move the Tegra, Intel and Radeon drivers over to the
> new helpers. Patch 8 was contributed by Intel's Paulo Zanoni. I think
> Paulo wanted to spin a new version, so maybe the version included in
> this series shouldn't be applied as-is.

For the series:
Reviewed-by: Alex Deucher <alexander.deucher at amd.com>


>
> Thierry
>
> Paulo Zanoni (1):
>   drm/i915: Use generic HDMI infoframe helpers
>
> Thierry Reding (8):
>   drm: Remove duplicate drm_mode_cea_vic()
>   drm: Move mode tables to drm_edid.c
>   drm: Add some missing forward declarations
>   video: Add generic HDMI infoframe helpers
>   drm: Add HDMI infoframe helpers
>   drm: Add EDID helper documentation
>   drm/tegra: Use generic HDMI infoframe helpers
>   drm/radeon: Use generic HDMI infoframe helpers
>
>  Documentation/DocBook/drm.tmpl          |   4 +
>  drivers/gpu/drm/Kconfig                 |   1 +
>  drivers/gpu/drm/drm_edid.c              | 798 +++++++++++++++++++++++++++++++-
>  drivers/gpu/drm/drm_edid_modes.h        | 774 -------------------------------
>  drivers/gpu/drm/i915/intel_drv.h        |  65 +--
>  drivers/gpu/drm/i915/intel_hdmi.c       | 191 ++++----
>  drivers/gpu/drm/i915/intel_sdvo.c       |  27 +-
>  drivers/gpu/drm/radeon/evergreen_hdmi.c |  85 +---
>  drivers/gpu/drm/radeon/r600_hdmi.c      | 134 ++----
>  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                    | 308 ++++++++++++
>  include/drm/drm_crtc.h                  |   6 +-
>  include/drm/drm_edid.h                  |   6 +
>  include/linux/hdmi.h                    | 231 +++++++++
>  18 files changed, 1619 insertions(+), 1431 deletions(-)
>  delete mode 100644 drivers/gpu/drm/drm_edid_modes.h
>  create mode 100644 drivers/video/hdmi.c
>  create mode 100644 include/linux/hdmi.h
>
> --
> 1.8.1.2
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel


More information about the dri-devel mailing list