drm/vc4: Add "Broadcast RGB" connector property
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Fri, 14 Jun 2019 09:12:07 +0000 (10:12 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:03 +0000 (16:33 +0100)
commit8807e53da8312e86cdf1fcf90ec07dbef81b5520
treecc9a662929f95b896aa8a729fae17376caf1ca15
parent77d21fb50bb3296693c4cd22599b1b735fc36650
drm/vc4: Add "Broadcast RGB" connector property

Some HDMI monitors do not abide by the full or limited
(16-235) range RGB flags in the AVI infoframe. This can
result in images looking washed out (if given limited and
interpreting as full), or detail disappearing at the extremes
(given full and interpreting as limited).

Copy the Intel i915 driver's approach of adding an override
property ("Broadcast RGB") to force one mode or the other.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/gpu/drm/vc4/vc4_firmware_kms.c