]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Avoid full hdmi audio fifo writes
authorDom Cobley <popcornmix@gmail.com>
Mon, 13 Jun 2022 14:47:47 +0000 (16:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:26 +0000 (14:23 +0200)
commitf3a86238de023c7864ff87c6479b5ead5dbc5bf4
treed3ad008e6a00aae77e262b927114d1d1004329bb
parenteea2c7bd5221a645140325a4dc06345effca2af2
drm/vc4: hdmi: Avoid full hdmi audio fifo writes

[ Upstream commit a601903b6f0b26a53514ef5a300de23ea271b8de ]

We are getting occasional VC4_HD_MAI_CTL_ERRORF in
HDMI_MAI_CTL which seem to correspond with audio dropouts.

Reduce the threshold where we deassert DREQ to avoid the fifo
overfilling

Fixes: b5780ae2a73c ("drm/vc4: Add HDMI audio support")
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
Link: https://lore.kernel.org/r/20220613144800.326124-21-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/vc4/vc4_hdmi.c