@@ -365,9 +365,11 @@ static int dp_display_send_hpd_notification(struct dp_display_private *dp,
365
365
/* reset video pattern flag on disconnect */
366
366
if (!hpd ) {
367
367
dp -> panel -> video_test = false;
368
- drm_dp_set_subconnector_property (dp -> dp_display .connector ,
369
- connector_status_disconnected ,
370
- dp -> panel -> dpcd , dp -> panel -> downstream_ports );
368
+ if (!dp -> dp_display .is_edp )
369
+ drm_dp_set_subconnector_property (dp -> dp_display .connector ,
370
+ connector_status_disconnected ,
371
+ dp -> panel -> dpcd ,
372
+ dp -> panel -> downstream_ports );
371
373
}
372
374
373
375
dp -> dp_display .is_connected = hpd ;
@@ -396,8 +398,11 @@ static int dp_display_process_hpd_high(struct dp_display_private *dp)
396
398
397
399
dp_link_process_request (dp -> link );
398
400
399
- drm_dp_set_subconnector_property (dp -> dp_display .connector , connector_status_connected ,
400
- dp -> panel -> dpcd , dp -> panel -> downstream_ports );
401
+ if (!dp -> dp_display .is_edp )
402
+ drm_dp_set_subconnector_property (dp -> dp_display .connector ,
403
+ connector_status_connected ,
404
+ dp -> panel -> dpcd ,
405
+ dp -> panel -> downstream_ports );
401
406
402
407
edid = dp -> panel -> edid ;
403
408
0 commit comments