Add HDMI infoframe helpers
Get series with b4
b4 am 1361516611-2517-1-git-send-email-thierry.reding@avionic-design.deVersions newest first · linked by author and title
- v5 Latest9 patches 7 repliesIn review
- v49 patches 3 repliesSuperseded
- v39 patches 11 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 RFC | 5 patches | 20 replies | Superseded | |
| v1 RFC | 2 patches | 4 replies | Superseded |
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | drm: Remove duplicate drm_mode_cea_vic()drivers/ drivers/ drivers/ +2 more | +12 | 0 replies | |
| 2/9 | drm: Move mode tables to drm_edid.cdrivers/ drivers/ | +746 | 0 replies | |
| 3/9 | drm: Add some missing forward declarationsinclude/ | +2 | 0 replies | |
| 4/9 | video: Add generic HDMI infoframe helpersdrivers/ drivers/ drivers/ +1 more | +543 | 7 replies | |
| 5/9 | drm: Add HDMI infoframe helpersdrivers/ drivers/ include/ | +40 | 0 replies | |
| 6/9 | drm: Add EDID helper documentationDocumentation/ | +4 | 0 replies | |
| 7/9 | drm/tegra: Use generic HDMI infoframe helpersdrivers/ drivers/ drivers/ | +110 | 0 replies | |
| 8/9 | drm/i915: Use generic HDMI infoframe helpersdrivers/ drivers/ drivers/ | +117 | 0 replies | |
| 9/9 | drm/radeon: Use generic HDMI infoframe helpersdrivers/ drivers/ | +58 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 0/9] Add HDMI infoframe helpers
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.
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_dp.c | 2 +- drivers/gpu/drm/i915/intel_drv.h | 65 +-- drivers/gpu/drm/i915/intel_hdmi.c | 193 ++++---- drivers/gpu/drm/i915/intel_sdvo.c | 29 +- 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 +++++++++ 19 files changed, 1622 insertions(+), 1434 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
Signature · 1 line
1.8.1.2