drm/vc4: hdmi: Add full range RGB helper
authorMaxime Ripard <maxime@cerno.tech>
Thu, 20 Jan 2022 15:16:14 +0000 (16:16 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 25 Jan 2022 09:02:31 +0000 (10:02 +0100)
commita649cc821a2a2ee2e38d93426e92d6e88f7e4cbe
tree5c115bfb038af23acac6c1ecaa926d8ef1b06ded
parentc03d0b52ff71d580ee235463c7ca9eac31351dcd
drm/vc4: hdmi: Add full range RGB helper

We're going to need to tell whether we want to run with a full or
limited range RGB output in multiple places in the code, so let's create
a helper that will return whether we need with full range or not.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220120151625.594595-6-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c