OSDN Git Service

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)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 28 Jun 2022 12:55:48 +0000 (14:55 +0200)
commit1c594eeccf92368177c2e22f1d3ee4933dfb8567
treedc1fce71eaaeb4962d80ece68b0bd8b739a786c3
parentb6079d1578dc4b4b8050d613a5449a63def7d1dd
drm/vc4: hdmi: Avoid full hdmi audio fifo writes

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>
drivers/gpu/drm/vc4/vc4_hdmi.c