Skip to content

Commit

Permalink
drm/edid: Fix serdes black screen issue
Browse files Browse the repository at this point in the history
Force to get serdes edid to fix black screen issue due to don`t use DDC

Test-done:
    Android boot and backlight/motor tested with panel EF1E-A1

Tracked-On: OAM-115780
Signed-off-by: Jia, Lin A <[email protected]>
  • Loading branch information
ljia5 authored and sysopenci committed Mar 6, 2024
1 parent 32511af commit 38e39b9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions drivers/gpu/drm/drm_edid.c
Original file line number Diff line number Diff line change
Expand Up @@ -2550,8 +2550,12 @@ struct edid *drm_get_edid(struct drm_connector *connector,
if (connector->force == DRM_FORCE_OFF)
return NULL;

if (connector->force == DRM_FORCE_UNSPECIFIED && !drm_probe_ddc(adapter))
return NULL;
if (connector->force == DRM_FORCE_UNSPECIFIED && !drm_probe_ddc(adapter)) {
if ((connector->status == connector_status_connected) &&
(strcmp(connector->name, "DP-3") != 0)) {
return NULL;
}
}

edid = _drm_do_get_edid(connector, drm_do_probe_ddc_edid, adapter, NULL);
drm_connector_update_edid_property(connector, edid);
Expand Down

0 comments on commit 38e39b9

Please sign in to comment.