drm/vc4: hdmi: Signal the proper colorimetry info in the infoframe
authorMaxime Ripard <maxime@cerno.tech>
Fri, 9 Apr 2021 15:16:42 +0000 (17:16 +0200)
committerpopcornmix <popcornmix@gmail.com>
Mon, 12 Apr 2021 17:08:50 +0000 (18:08 +0100)
commitc4177d50af0072f6a2d1859a9d93b53ab600c420
tree99d237c77f0c61a2b4fd569bde18f237a61647ab
parent2a1297bd80afdb1166b6cb00d0327fb27f86a5bf
drm/vc4: hdmi: Signal the proper colorimetry info in the infoframe

Our driver while supporting HDR didn't send the proper colorimetry info
in the AVI infoframe.

Let's add the property needed so that the userspace can let us know what
the colorspace is supposed to be.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hdmi.c