Skip to content
Closed
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
11 changes: 11 additions & 0 deletions drivers/gpu/drm/apple/dcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -4071,9 +4071,20 @@ static int dcp_start_desktop_external(struct apple_dcp *dcp, u32 map)
/*
* A Type-C route powers the PHY and selects the crossbar when it is
* claimed; until then there is no link to bring up.
*
* The HDMI output's connect waits up to DPTX_CONNECT_TIMEOUT for a link
* configuration, which without a sink never comes: with HPD low, leave
* the connect to dcp_enable_dp2hdmi_hpd() once the processor is up and
* to the HPD interrupt, so the start does not hold the display driver
* back by that wait.
*/
if (!dptx_ret && dptx_service_available(&dcp->dptxport[0]) &&
(dcp->fixed_phy || dcp->active_typec_route)) {
if (!dcp->active_typec_route && dcp->hdmi_hpd &&
!gpiod_get_value_cansleep(dcp->hdmi_hpd)) {
dev_dbg(dcp->dev, "no HDMI sink at startup: no DPTX link yet\n");
return 0;
}
ret = dcp_dptx_connect(dcp, 0);
if (ret)
dev_info(dcp->dev, "no DPTX link at startup: %d\n", ret);
Expand Down
Loading