linux/drivers/gpu/drm/amd
Arindam Nath 0b39c531cf 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
2016-03-02 11:01:25 -05:00
..
amdgpu drm/amdgpu: return from atombios_dp_get_dpcd only when error 2016-03-02 11:01:25 -05:00
amdkfd drm/amdkfd: Remove unnecessary cast in kfree 2016-01-28 14:40:11 +02:00
include drma/dmgpu: move cg and pg flags into shared headers 2016-02-08 10:37:47 -05:00
powerplay drm/amdgpu/powerplay/cz: enable/disable vce dpm independent of vce pg 2016-03-02 11:01:24 -05:00
scheduler drm/amdgpu: add entity only when first job come 2015-12-14 19:41:19 -05:00