drm/amd/display: Move LTTPR cap read into its own function
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Fri, 14 May 2021 19:06:30 +0000 (15:06 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Jun 2021 21:25:41 +0000 (17:25 -0400)
commitee9b1992f1fdf3726af010cd771b12205e0ce346
tree0b8d389a6db1c6fad3924b4c9167f20f37471bc6
parent0abda67419f76d5af4423ab15ee24cff0e911abd
drm/amd/display: Move LTTPR cap read into its own function

[WHY]
We want LTTPR capabilities to be readable from more places than just
retrieve_link_cap

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/core/dc_link_dp.c