drm/vc4: hdmi: Signal the proper colorimetry info in the infoframe
authorMaxime Ripard <maxime@cerno.tech>
Fri, 30 Apr 2021 09:44:51 +0000 (11:44 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 7 May 2021 15:14:59 +0000 (17:14 +0200)
commit76a262d274a2f23ac0fee24ff3e4d1a8276b95e2
tree0d8abf6b76fcb7e08c5387aa0ab268ed8b0d0e68
parent21f79128e0a16e10fd0fa43485fdff01008e0296
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.

Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210430094451.2145002-5-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c