]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Clear unused infoframe packet RAM registers
authorDom Cobley <popcornmix@gmail.com>
Mon, 13 Jun 2022 14:47:46 +0000 (16:47 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 28 Jun 2022 12:55:46 +0000 (14:55 +0200)
commit2fad1f4df6a8eee79530925a203b0c8bbed16dda
tree73142ca8f4349ebaef30364adad336a9da2c557a
parent3d3633751b58fc5c76fe47f1ed475cc6f05305c7
drm/vc4: hdmi: Clear unused infoframe packet RAM registers

Using a hdmi analyser the bytes in packet ram
registers beyond the length were visible in the
infoframes and it flagged the checksum as invalid.

Zeroing unused words of packet RAM avoids this

Fixes: dd084cfb5e8c ("drm/vc4: Set up the AVI and SPD infoframes.")
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
Link: https://lore.kernel.org/r/20220613144800.326124-20-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hdmi.c