[PATCH 00/11] HDMI YCBCR output handling in DRM layer
Shashank Sharma
shashank.sharma at intel.com
Fri Apr 7 16:39:17 UTC 2017
This patch series adds DRM layer support for YCBCR HDMI output handling.
The target HDMI YCBCR outputs are:
- YCBCR444
- YCBCR422
- YCBCR420
As YCBCR420 output is added in HDMI 2.0, this patch series also
contain few patches to handle new EDID extention blocks, added
for YCBCR420 modes (CEA-861-F)
First two patches, complete the CEA modedb in drm driver, by adding
new 4k modes. Current CEA modedb contains 64 modes only (VIC1-64), whereas
YCBCR420 output can support 4k modes, from VIC range 93-107. First patch
makes sure that it doesn't break existing HDMI 1.4 monitors, adding new
VICs.
Next 3 patches, parse and accomodate YCBCR420 suppor information from the
sink, and stores into display info strucure. This contains parsing YCBCR420
supported modes, and deep color information.
Next 2 patch create a property (hdmi_output) using which, as userspace can
set its preferred HDMI output from RGB, YCBCR444/422/420 etc. Default value
of the property is set to RGB(0) so that it doesnt affect existing
implementations. Other patch takes care of setting AVI IF colorspace as per
the selected output.
Last 3 patches contain implementation of YCBCR output in I915 HDMI subsystem.
Jose Abreu (1):
drm: parse ycbcr 420 vdb block
Shashank Sharma (10):
drm: Add HDMI 2.0 VIC support for AVI info-frames
drm/edid: Complete CEA modedb(VIC 1-107)
drm: parse ycbcr420 vcb block
drm: parse ycbcr 420 deep color information
drm: create hdmi output property
drm: set output colorspace in AVI infoframe
drm/i915: handle ycbcr outputs
drm/i915: handle csc for ycbcr HDMI output
drm/i915: prepare ycbcr420 modeset
drm/i915: set colorspace for ycbcr outputs
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 2 +-
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 2 +-
drivers/gpu/drm/bridge/analogix-anx78xx.c | 3 +-
drivers/gpu/drm/bridge/sii902x.c | 2 +-
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 2 +-
drivers/gpu/drm/drm_atomic.c | 2 +
drivers/gpu/drm/drm_atomic_helper.c | 4 +
drivers/gpu/drm/drm_connector.c | 31 +++
drivers/gpu/drm/drm_edid.c | 416 +++++++++++++++++++++++++++++-
drivers/gpu/drm/drm_modes.c | 10 +-
drivers/gpu/drm/exynos/exynos_hdmi.c | 2 +-
drivers/gpu/drm/i2c/tda998x_drv.c | 2 +-
drivers/gpu/drm/i915/i915_reg.h | 3 +
drivers/gpu/drm/i915/intel_atomic.c | 6 +
drivers/gpu/drm/i915/intel_color.c | 49 +++-
drivers/gpu/drm/i915/intel_display.c | 67 +++++
drivers/gpu/drm/i915/intel_drv.h | 13 +-
drivers/gpu/drm/i915/intel_hdmi.c | 185 ++++++++++++-
drivers/gpu/drm/i915/intel_panel.c | 3 +-
drivers/gpu/drm/i915/intel_sdvo.c | 3 +-
drivers/gpu/drm/mediatek/mtk_hdmi.c | 2 +-
drivers/gpu/drm/omapdrm/omap_encoder.c | 3 +-
drivers/gpu/drm/radeon/radeon_audio.c | 2 +-
drivers/gpu/drm/rockchip/inno_hdmi.c | 2 +-
drivers/gpu/drm/sti/sti_hdmi.c | 2 +-
drivers/gpu/drm/tegra/hdmi.c | 2 +-
drivers/gpu/drm/tegra/sor.c | 2 +-
drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +-
drivers/gpu/drm/zte/zx_hdmi.c | 2 +-
include/drm/drm_connector.h | 17 ++
include/drm/drm_edid.h | 13 +-
include/drm/drm_mode_config.h | 5 +
include/uapi/drm/drm_mode.h | 6 +
34 files changed, 836 insertions(+), 33 deletions(-)
--
2.7.4
More information about the dri-devel
mailing list