vc4/drm: Increase hdmi audio axi priority to avoid lost samples
authorDom Cobley <popcornmix@gmail.com>
Fri, 12 Mar 2021 11:26:29 +0000 (11:26 +0000)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Fri, 12 Mar 2021 20:29:12 +0000 (20:29 +0000)
With HBR audio (8 channel 192kHz) we get occasional VC4_HD_MAI_CTL_DLATE error flags in
HDMI_MAI_CTL which seem to correspond with audio dropouts.

Increasing the normal AXI priority for dma is needed to avoid these

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
arch/arm/boot/dts/bcm2711-rpi.dtsi

index 8053ef5..20581ee 100644 (file)
 };
 
 &hdmi0 {
-       dmas = <&dma (10|(1<<27)|(1<<24)|(0<<16)|(15<<20))>;
+       dmas = <&dma (10|(1<<27)|(1<<24)|(10<<16)|(15<<20))>;
        status = "disabled";
 };
 
 };
 
 &hdmi1 {
-       dmas = <&dma (17|(1<<27)|(1<<24)|(0<<16)|(15<<20))>;
+       dmas = <&dma (17|(1<<27)|(1<<24)|(10<<16)|(15<<20))>;
        status = "disabled";
 };