drm/amd/display: Read LTTPR caps first on bootup
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Fri, 16 Apr 2021 21:21:28 +0000 (17:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Jun 2021 21:25:41 +0000 (17:25 -0400)
commitc5bc8c1bd4c72dcbc7c4e4698b41ff839f219280
tree00230aa01e03c6aca79afd956fa576174372af7d
parentee9b1992f1fdf3726af010cd771b12205e0ce346
drm/amd/display: Read LTTPR caps first on bootup

[WHY]
SCR for DP 2.0 requires that LTTPR caps be read first on hotplug.
For the sake of consistency, this should also be the case on bootup.

Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c
drivers/gpu/drm/amd/display/dc/inc/dc_link_dp.h