Skip to content

Commit 7bbf8cd

Browse files
committed
vc_hdmi: Set VC4_HDMI_MAI_CONFIG_FORMAT_REVERSE
Without this bit set, HDMI_MAI_FORMAT doesn't pick up the format and samplerate from DVP_CFG_MAI0_FMT and you can't get HDMI_HDMI_13_AUDIO_STATUS_1 to indicate HBR mode Signed-off-by: Dom Cobley <popcornmix@gmail.com>
1 parent 821251e commit 7bbf8cd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/gpu/drm/vc4/vc4_hdmi.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,7 @@ static int vc4_hdmi_audio_prepare(struct snd_pcm_substream *substream,
10161016

10171017
HDMI_WRITE(HDMI_MAI_CONFIG,
10181018
VC4_HDMI_MAI_CONFIG_BIT_REVERSE |
1019+
VC4_HDMI_MAI_CONFIG_FORMAT_REVERSE |
10191020
VC4_SET_FIELD(channel_mask, VC4_HDMI_MAI_CHANNEL_MASK));
10201021

10211022
channel_map = vc4_hdmi->variant->channel_map(vc4_hdmi, channel_mask);

0 commit comments

Comments
 (0)