drm/amdgpu: retry dcpd fetch
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 18 May 2015 22:15:07 +0000 (18:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:03:41 +0000 (21:03 -0400)
commit67ed0092328dbc5f88759be9a32a95b151583e1b
tree743c085ed2d3793ed18c7f339c0e495bd13f7c5a
parent7af93b506956cd3efbea3c8e79a9420ac8819a7e
drm/amdgpu: retry dcpd fetch

Retry the dpcd fetch several times.  Some eDP panels
fail several times before the fetch is successful.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=73530

Ported from radeon.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/atombios_dp.c