[Intel-gfx] [PATCH 00/20] YCBCR 4:2:0 handling for LSPCON

Shashank Sharma shashank.sharma at intel.com
Mon Jul 10 11:18:28 UTC 2017


LSPCON is a DP->HDMI active dongle, enumerated as DP dual
mode adapter on Intel GEN9 platforms. It's provided by two
different vendors
        - Mega Chips America (MCA)
        - Parade Technologies (Parade)

In order to support YCBCR 4:2:0 outputs, these are the essential
steps:
        - Convert HDMI output format from RGB to YCBCR 4:4:4.
        - Set appropriate color space in AVI infoframes.
        - Write AVI infoframes to vendor specific AUX registers.

This patch series adds 5 patches, to accommodate above steps and
enable YCBCR 4:2:0 output for LSPCON based HDMI displays. As this
series is dependent on HDMI 2.0 YCBCR 4:2:0 framework, it also
contains 15 patches from HDMI 2.0 YCBCR 4:2:0 series too, which are
published and reviewed as a separate series here:
https://patchwork.freedesktop.org/series/26973/

Requesting reviewers to review only last 5 patches, starting from
patch 15, which are:
  drm: add function to read vendor OUI
  drm/i915: check LSPCON vendor OUI
  drm/i915: YCBCR 420 support for LSPCON
  drm/i915: Move AVI infoframe function to DDI layer
  drm/i915: write AVI infoframes for LSPCON

Shashank Sharma (20):
  drm: handle HDMI 2.0 VICs in AVI info-frames
  drm/edid: complete CEA modedb(VIC 1-107)
  drm/edid: parse sink information before CEA blocks
  drm/edid: cleanup patch for CEA extended-tag macro
  drm/edid: parse YCBCR420 videomodes from EDID
  drm: add helper to validate YCBCR420 modes
  drm/edid: parse ycbcr 420 deep color information
  drm: set output colorspace in AVI infoframe
  drm: add helper functions for YCBCR420 handling
  drm/i915: add config function for YCBCR420 outputs
  drm/i915: prepare scaler for YCBCR420 modeset
  drm/i915: prepare pipe for YCBCR420 output
  drm/i915: prepare csc unit for YCBCR420 output
  drm/i915: set colorspace for YCBCR420 outputs
  drm/i915/glk: set HDMI 2.0 identifier
  drm: add function to read vendor OUI
  drm/i915: check LSPCON vendor OUI
  drm/i915: YCBCR 420 support for LSPCON
  drm/i915: Move AVI infoframe function to DDI layer
  drm/i915: write AVI infoframes for LSPCON

 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_v6_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_dp_dual_mode_helper.c |  24 ++
 drivers/gpu/drm/drm_edid.c                | 469 +++++++++++++++++++++++++++++-
 drivers/gpu/drm/drm_modes.c               | 102 +++++++
 drivers/gpu/drm/drm_probe_helper.c        |   4 +
 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        |  47 ++-
 drivers/gpu/drm/i915/intel_ddi.c          |  97 +++++-
 drivers/gpu/drm/i915/intel_display.c      |  52 ++++
 drivers/gpu/drm/i915/intel_dp.c           |  16 +-
 drivers/gpu/drm/i915/intel_drv.h          |  51 +++-
 drivers/gpu/drm/i915/intel_hdmi.c         |  97 +++---
 drivers/gpu/drm/i915/intel_lspcon.c       | 216 ++++++++++++++
 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/msm/hdmi/hdmi_bridge.c    |   2 +-
 drivers/gpu/drm/nouveau/nv50_display.c    |   3 +-
 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/sun4i/sun4i_hdmi_enc.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               |  32 ++
 include/drm/drm_dp_dual_mode_helper.h     |   4 +-
 include/drm/drm_edid.h                    |  17 +-
 include/drm/drm_modes.h                   |  11 +
 40 files changed, 1218 insertions(+), 81 deletions(-)

-- 
2.7.4



More information about the Intel-gfx mailing list