drm/amd/display: Helper function for ALPM initialization
authorMuhammad Ansari <muansari@amd.com>
Mon, 20 Jun 2022 21:49:35 +0000 (17:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 12 Jul 2022 20:49:05 +0000 (16:49 -0400)
commit90bb21cb692ead906738d314f3dcdc432aaee015
tree6fe6d4872b53bfe01b8062c9b34f986d1ef2e9ae
parent8a076bbcc1278c6256c57915bc193890a6432c6d
drm/amd/display: Helper function for ALPM initialization

[WHY]
Needed a helper function for ALPM DPCD initialization

[HOW]
Refactoring to put ALPM initialization in a helper function

Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Muhammad Ansari <muansari@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.c
drivers/gpu/drm/amd/display/dc/dc_link.h