]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d93342f1cf2298fe9be556ecace2336ab6a55a0
tree0d8abf6b76fcb7e08c5387aa0ab268ed8b0d0e68
parent8f6f8d7bb61fe645cc47a8f6c95962e63a37cb8a
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