diff options
author | Arindam Nath <arindam.nath@amd.com> | 2016-03-02 17:19:01 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-03-02 11:01:25 -0500 |
commit | 0b39c531cfa12dad54eac238c2e303b994df1ef7 (patch) | |
tree | ced972693ee3a4878fe174d3319202a3f35a2e8b /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | |
parent | 89913ea615754163ae9a066c9c1b95aa2a2f51b4 (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 <arindam.nath@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c')
0 files changed, 0 insertions, 0 deletions