drm/vc4: Enable limited range RGB output on HDMI with CEA modes.
authorEric Anholt <eric@anholt.net>
Fri, 16 Sep 2016 09:59:45 +0000 (10:59 +0100)
committerEric Anholt <eric@anholt.net>
Thu, 6 Oct 2016 18:58:26 +0000 (11:58 -0700)
commit6e1cbbad670cf9e9ee6fb58a8d77ca095f385eee
tree359f3c3aeadb66895382aa990dd147fd91314b6b
parent7edabee06a5622190d59689a64f5e17d1c343cc3
drm/vc4: Enable limited range RGB output on HDMI with CEA modes.

Fixes broken grayscale ramps on many HDMI monitors, where large areas
at the ends of the ramp would all appear as black or white.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_regs.h