]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amd/display: add DCN301 specific logic for OTG programming
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Wed, 12 Jul 2023 16:35:16 +0000 (12:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Jul 2023 18:17:35 +0000 (14:17 -0400)
commitd1792509e1031a6750f82bc7faa5fc9d7203b5b7
tree939031df8dc3caf01f2b195f5d282220839190e5
parent2ed5a4c4615b47c70dcd8d7d942207e5a607561d
drm/amd/display: add DCN301 specific logic for OTG programming

[Why&How]
DCN301 does not have FAMS hence the workaround needed on other DCN3x
variants related to OTG min/max selector programming is not applicable for it.
Hence isolate it and have it use the old sequence without workaround.

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/dcn301/Makefile
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_optc.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_optc.h [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c