Skip to content

Commit 2dd4aab

Browse files
Merge pull request #300 from omacom/feat/dcp-hdmi-audio-default-on
drm/apple: turn DP/HDMI audio on by default
2 parents 0079a9d + c9e5b25 commit 2dd4aab

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎drivers/gpu/drm/apple/av.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//int avep_audiosrv_startlink(struct apple_dcp *dcp, struct dcp_sound_cookie *cookie);
77
//int avep_audiosrv_stoplink(struct apple_dcp *dcp);
88

9-
/* dcp.c: the opt-in to DP/HDMI audio (appledrm.hdmi_audio). */
9+
/* dcp.c: DP/HDMI audio, on unless appledrm.hdmi_audio=0. */
1010
extern bool hdmi_audio;
1111

1212
#if IS_ENABLED(CONFIG_DRM_APPLE_AUDIO)

‎drivers/gpu/drm/apple/dcp.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ module_param(t6030_show_notch, bool, 0444);
200200
MODULE_PARM_DESC(t6030_show_notch,
201201
"M3 internal display (14.x and 26.6 IOMFB): use the full height and show the notch");
202202

203-
bool hdmi_audio;
203+
bool hdmi_audio = true;
204204
module_param(hdmi_audio, bool, 0644);
205-
MODULE_PARM_DESC(hdmi_audio, "Enable unstable HDMI audio support");
205+
MODULE_PARM_DESC(hdmi_audio, "Enable DP/HDMI audio support (default: on)");
206206

207207
static bool unstable_edid = true;
208208
module_param(unstable_edid, bool, 0644);
@@ -2535,7 +2535,7 @@ int dcp_start(struct platform_device *pdev)
25352535

25362536
/*
25372537
* A native T6030 external processor: its DP/HDMI audio endpoint (EP 0x29)
2538-
* on the driver's opt-in (hdmi_audio), as the other DCPs start it, for a
2538+
* unless hdmi_audio is off, as the other DCPs start it, for a
25392539
* processor whose port@0 links an audio device; once per session, and after
25402540
* the first display's EDID was read: with the endpoint's interfaces
25412541
* published, an EDID copy (dcpavserv_copy_edid()) has the firmware rebuild

0 commit comments

Comments
 (0)