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)
commitb6079d1578dc4b4b8050d613a5449a63def7d1dd
tree73142ca8f4349ebaef30364adad336a9da2c557a
parent25eb441d55d479581a65bcc9de88bc1d86bf76c1
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: 21317b3fba54 ("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