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: 1598fc57 ("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>
Showing
- drivers/gpu/drm/amd/display/dc/dcn301/Makefile 2 additions, 1 deletiondrivers/gpu/drm/amd/display/dc/dcn301/Makefile
- drivers/gpu/drm/amd/display/dc/dcn301/dcn301_optc.c 185 additions, 0 deletionsdrivers/gpu/drm/amd/display/dc/dcn301/dcn301_optc.c
- drivers/gpu/drm/amd/display/dc/dcn301/dcn301_optc.h 36 additions, 0 deletionsdrivers/gpu/drm/amd/display/dc/dcn301/dcn301_optc.h
- drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c 2 additions, 2 deletionsdrivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c
Loading
Please register or sign in to comment