[Intel-gfx] [PATCH 0/5] drm/edid: Improve RGB limited range handling a bit

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Wed Jan 11 12:57:20 UTC 2017


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

While reading the HDMI 2.0 spec I noticed some new things related to
the RGB quantization range stuff, and after cross checking with
CEA-861-F I spotted a some other things as well. So I figured I should
pimp up the code a bit.

And since we now have two drivers that deal with this stuff, I decided
to move a bunch of the code to the core to avoid duplicating the code
and having different bugs/features for each driver. I still left the state
computation part in the drivers, but eventually we might want to move that
code into some helper as well.

Entire series available here:
git://github.com/vsyrjala/linux.git hdmi_quant_range_helpers

Ville Syrjälä (5):
  drm/edid: Have drm_edid.h include hdmi.h
  drm/edid: Introduce drm_default_rgb_quant_range()
  drm/edid: Introduce drm_hdmi_avi_infoframe_quant_range()
  drm/edid: Set AVI infoframe Q even when QS=0
  drm/edid: Set YQ bits in the AVI infoframe according to CEA-861-F

 drivers/gpu/drm/drm_edid.c        | 64 +++++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/intel_dp.c   |  4 ++-
 drivers/gpu/drm/i915/intel_hdmi.c | 20 ++++++------
 drivers/gpu/drm/vc4/vc4_hdmi.c    | 18 +++++------
 include/drm/drm_edid.h            | 10 ++++--
 5 files changed, 93 insertions(+), 23 deletions(-)

-- 
2.10.2



More information about the Intel-gfx mailing list