]> git.ipfire.org Git - thirdparty/linux.git/commit
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>
Thu, 13 Jul 2023 21:29:31 +0000 (17:29 -0400)
commit69dc8023778334082225e2911c1f0d38734b71e9
tree2b875d9b25b7a1d8407c9e1cedab5ec25051f57d
parentf0259c008aeb0cea25b6e49811d5be587e182be6
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