Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion drivers/gpu/drm/apple/av.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//int avep_audiosrv_startlink(struct apple_dcp *dcp, struct dcp_sound_cookie *cookie);
//int avep_audiosrv_stoplink(struct apple_dcp *dcp);

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

#if IS_ENABLED(CONFIG_DRM_APPLE_AUDIO)
Expand Down
6 changes: 3 additions & 3 deletions drivers/gpu/drm/apple/dcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ module_param(t6030_show_notch, bool, 0444);
MODULE_PARM_DESC(t6030_show_notch,
"M3 internal display (14.x and 26.6 IOMFB): use the full height and show the notch");

bool hdmi_audio;
bool hdmi_audio = true;
module_param(hdmi_audio, bool, 0644);
MODULE_PARM_DESC(hdmi_audio, "Enable unstable HDMI audio support");
MODULE_PARM_DESC(hdmi_audio, "Enable DP/HDMI audio support (default: on)");

static bool unstable_edid = true;
module_param(unstable_edid, bool, 0644);
Expand Down Expand Up @@ -2535,7 +2535,7 @@ int dcp_start(struct platform_device *pdev)

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