aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorArindam Nath <[email protected]>2016-03-02 17:19:01 +0530
committerAlex Deucher <[email protected]>2016-03-02 11:01:25 -0500
commit0b39c531cfa12dad54eac238c2e303b994df1ef7 (patch)
treeced972693ee3a4878fe174d3319202a3f35a2e8b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent89913ea615754163ae9a066c9c1b95aa2a2f51b4 (diff)
drm/amdgpu: return from atombios_dp_get_dpcd only when error
In amdgpu_connector_hotplug(), we need to start DP link training only after we have received DPCD. The function amdgpu_atombios_dp_get_dpcd() returns non-zero value only when an error condition is met, otherwise returns zero. So in case the function encounters an error, we need to skip rest of the code and return from amdgpu_connector_hotplug() immediately. Only when we are successfull in reading DPCD pin, we should carry on with turning-on the monitor. Signed-off-by: Arindam Nath <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions