Skip to content

Commit b749787

Browse files
6by9popcornmix
authored andcommitted
drm/vc4: Enable audio on Pi4.
This could be a revert of "drm/vc4: hdmi: Add an audio support flag" as it is no longer needed. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
1 parent 1223a42 commit b749787

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,6 +1731,7 @@ static const struct vc4_hdmi_variant bcm2835_variant = {
17311731

17321732
static const struct vc4_hdmi_variant bcm2711_hdmi0_variant = {
17331733
.id = 0,
1734+
.audio_available = true,
17341735
.max_pixel_clock = 297000000,
17351736
.registers = vc5_hdmi_hdmi0_fields,
17361737
.num_registers = ARRAY_SIZE(vc5_hdmi_hdmi0_fields),
@@ -1754,6 +1755,7 @@ static const struct vc4_hdmi_variant bcm2711_hdmi0_variant = {
17541755

17551756
static const struct vc4_hdmi_variant bcm2711_hdmi1_variant = {
17561757
.id = 1,
1758+
.audio_available = true,
17571759
.max_pixel_clock = 297000000,
17581760
.registers = vc5_hdmi_hdmi1_fields,
17591761
.num_registers = ARRAY_SIZE(vc5_hdmi_hdmi1_fields),

0 commit comments

Comments
 (0)