]> 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)
commita6070ff57eaaebed86f849f7347be622fd4a9c01
tree73142ca8f4349ebaef30364adad336a9da2c557a
parent05a952325194edc9207910733415bf8c55f819e6
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: 7ad0ae222ec9 ("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