Commit 794b2498 authored by Dom Cobley's avatar Dom Cobley Committed by Zheng Zengkai
Browse files

drm/vc4: hdmi: Avoid full hdmi audio fifo writes

stable inclusion
from stable-v5.10.137
commit ba8ffdb450d4371b49e98282b4c4416836addd26
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ba8ffdb450d4371b49e98282b4c4416836addd26



--------------------------------

[ Upstream commit 1c594eec ]

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: bb7d7856 ("drm/vc4: Add HDMI audio support")
Signed-off-by: default avatarDom Cobley <popcornmix@gmail.com>
Link: https://lore.kernel.org/r/20220613144800.326124-21-maxime@cerno.tech


Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent fb3e91b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment