drm/i915: Provide the quantization range in the AVI infoframe
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 17 Jan 2013 14:31:31 +0000 (16:31 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 20 Jan 2013 12:09:45 +0000 (13:09 +0100)
commitabedc077b45eff0b5a8630af8431ad5d59213582
treee5a4f22ef38595086f48cb414d362f4b9f935de6
parentb1edd6a6ecd436af33f210a5c75e0249466fd200
drm/i915: Provide the quantization range in the AVI infoframe

The AVI infoframe is able to inform the display whether the source is
sending full or limited range RGB data.

As per CEA-861 [1] we must first check whether the display reports the
quantization range as selectable, and if so we can set the approriate
bits in the AVI inforframe.

[1] CEA-861-E - 6.4 Format of Version 2 AVI InfoFrame

v2: Give the Q bits better names, add spec chapter information

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_hdmi.c
drivers/gpu/drm/i915/intel_sdvo.c