]> www.infradead.org Git - users/dwmw2/linux.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>
Sun, 21 Aug 2022 13:15:43 +0000 (15:15 +0200)
commitba8ffdb450d4371b49e98282b4c4416836addd26
treed01bd9312ecad71e06c52dba8b963efb3363f890
parentb161b270677625eff5fa89ba6d94e28a6ad7a0f5
drm/vc4: hdmi: Avoid full hdmi audio fifo writes

[ Upstream commit 1c594eeccf92368177c2e22f1d3ee4933dfb8567 ]

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: bb7d78568814 ("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