aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorZhan Liu <[email protected]>2020-02-21 17:25:47 -0500
committerAlex Deucher <[email protected]>2020-02-25 11:02:14 -0500
commitf739ce5768eddbe573c8b30d8ac109de67c57d29 (patch)
treec3d943b4dd20ea3ff26b108e90d8055b7ce74bf7 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parentb80cd524ac44a29635eec377c6f845b3c321b592 (diff)
drm/amd/display: Add aconnector condition check for dpcd read
[Why] core_link_read_dpcd() will invoke dm_helpers_dp_read_dpcd(), which needs to read dpcd info with the help of aconnector. If aconnector (dc->links[i]->prev) is NULL, then dpcd status cannot be read. As a result, dpcd read fails and a line of error will be printed out in dmesg.log as: "*ERROR* Failed to found connector for link!" [How] Make sure that aconnector (dc->links[i]->prev) is not NULL, then read dpcd status. Signed-off-by: Zhan Liu <[email protected]> Reviewed-by: Joseph Gravenor <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions