drm/amd/display: export some optc function for reuse
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Tue, 11 Jul 2023 18:14:43 +0000 (14:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Jul 2023 18:17:11 +0000 (14:17 -0400)
commit2ed5a4c4615b47c70dcd8d7d942207e5a607561d
tree50ca5cd35a550f852e0fc952bd169f6ba240d0e6
parent60a2dae4902015f43d144f5a4710f655b2955b9b
drm/amd/display: export some optc function for reuse

[Why&How]
Make a few functions non static so that they can be reused for other
asic. This is in preparation for separating out OTG programming sequence
for DCN301

Fixes: 1598fc576420 ("drm/amd/display: Program OTG vtotal min/max selectors unconditionally for DCN1+")
Reviewed-by: Swapnil Patel <swapnil.patel@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.h