drm/amd/display: Read DPCD link caps up to and including DP_ADAPTER_CAP
authorNikola Cornij <nikola.cornij@amd.com>
Mon, 7 May 2018 19:35:15 +0000 (15:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 May 2018 18:31:37 +0000 (13:31 -0500)
commit794550c6eaf791bfd2e8d70e11aa56fdd6361725
treec7f65a1a616fbb7e7800d5e01452ce9cac473adc
parent4ea7fc09539bd2399c1fa7acea14529406120d9e
drm/amd/display: Read DPCD link caps up to and including DP_ADAPTER_CAP

DP 1.4 compliance requires 16 bytes to be read when reading link caps,
i.e. it requires DP_ADAPTER_CAP to be included. Included it for all DP
versions because reading more than required won't fail.

Signed-off-by: Nikola Cornij <nikola.cornij@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