]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Add limited color range readout for HDMI/DP ports on g4x/vlv/chv
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 12 Sep 2014 12:46:29 +0000 (15:46 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 18 Sep 2014 11:52:14 +0000 (14:52 +0300)
commit8c875fca1a8d76665c60fa141c220cee65f44f5e
tree91da5458a26495d4e9a354f8fe1e584b45feb72a
parent611a7a4fd8b5fb6b25ab1f8bdcde61800a7feacf
drm/i915: Add limited color range readout for HDMI/DP ports on g4x/vlv/chv

The limited color range knob is in the port registers on
g4x and vlv/chv for HDMI, and on g4x for DP. Add the relevant code
to read out the hardware state into pipe config. On vlv/chv the
DP port limited color range knob is in PIPECONF for which we
already have readout code.

Cc: Chris Clayton <chris2553@googlemail.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Tested-by: Chris Clayton <chris2553@googlemail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_hdmi.c