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

Ville Syrjälä ville.syrjala at linux.intel.com
Thu Jan 26 19:08:04 UTC 2017


On Wed, Jan 11, 2017 at 02:57:20PM +0200, ville.syrjala at linux.intel.com wrote:
> 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

Series pushed to drm-misc-next. Thanks for the reviews/acks.

> 
>  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

-- 
Ville Syrjälä
Intel OTC


More information about the dri-devel mailing list