drm/amd/display: Fix in dp link-training when updating payload allocation table
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Tue, 15 Jun 2021 19:11:31 +0000 (15:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jun 2022 22:17:24 +0000 (18:17 -0400)
commita30e8c13e7affd6fe379c6bf213133b0f917d1bf
treed021f3084100cb08ae6cbdea4d8eabbc3d1421ff
parent990cad0e4a9df4202cd482c192608caf6408e4b3
drm/amd/display: Fix in dp link-training when updating payload allocation table

[Why & How]
Check if aux is not accessible before updating payload allocation table.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c