drm/edid: Set YQ bits in the AVI infoframe according to CEA-861-F
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 11 Jan 2017 12:57:25 +0000 (14:57 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 26 Jan 2017 16:37:13 +0000 (18:37 +0200)
commitfcc8a22cc9053a8d1bbb94833ec103cd5961feef
tree5ac48ba33aafd2aaabd9b2557f6ebdcfe7eb2554
parent779c4c2866150c1e5518d703b747f794f91f044c
drm/edid: Set YQ bits in the AVI infoframe according to CEA-861-F

CEA-861-F tells us:
"When transmitting any RGB colorimetry, the Source should set the
 YQ-field to match the RGB Quantization Range being transmitted
 (e.g., when Limited Range RGB, set YQ=0 or when Full Range RGB,
 set YQ=1) and the Sink shall ignore the YQ-field."

So let's go ahead and do that. Perhaps there are sinks that don't
ignore the YQ as they should for RGB?

I wasn't able to find similar text in CEA-861-E, so it would seem
to be a fairly "recent" addition.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170111125725.8086-6-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/drm_edid.c