drm/vc4: hdmi: Add full range RGB helper
authorMaxime Ripard <maxime@cerno.tech>
Tue, 12 Jan 2021 14:55:07 +0000 (15:55 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:35 +0000 (16:04 +0000)
commitc67f155b3935558860525cefa95cb5447248ff42
tree5c164d89a2bccf0fd8802371b57d4f794419e4aa
parent7e9ec1590f6c2816da14dc86f841b24c5915b354
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>
drivers/gpu/drm/vc4/vc4_hdmi.c