# Pastebin tljOc8dc static int dp_display_process_hpd_high(struct dp_display_private *dp) { int rc = 0; struct edid *edid; dp->panel->max_dp_lanes = dp->parser->max_dp_lanes; rc = dp_panel_read_sink_caps(dp->panel, dp->dp_display.connector); if (rc) goto end; dp_link_process_request(dp->link); edid = dp->panel->edid; dp->audio_supported = drm_detect_monitor_audio(edid); dp_panel_handle_sink_request(dp->panel); dp->dp_display.max_pclk_khz = DP_MAX_PIXEL_CLK_KHZ; dp->dp_display.max_dp_lanes = dp->parser->max_dp_lanes; /* * set sink to normal operation mode -- D0 * before dpcd read */ dp_link_psm_config(dp->link, &dp->panel->link_info, false); dp_link_reset_phy_params_vx_px(dp->link); rc = dp_ctrl_on_link(dp->ctrl);