drm/amd/display: USB-C / thunderbolt dock specific workaround
authorHersen Wu <hersenxs.wu@amd.com>
Mon, 20 Nov 2017 17:45:54 +0000 (12:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Nov 2017 22:57:08 +0000 (17:57 -0500)
commit97011249c3b2ba6b038a2af7025063d62d1448ec
treeeb414859920c3a3bf151193a117e9d4dc198a95a
parent320a127437e5d3cbb7fc444f8769eb510d11d3b9
drm/amd/display: USB-C / thunderbolt dock specific workaround

reading dpcd 0x600 cause link loss for a particular USB-C dock with
thurderbolt.  workaround by avoiding dcpd 0x600 read unless it's
necessary.

Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c