OSDN Git Service

drm/amd/display: Program OTG vtotal min/max selectors unconditionally
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Tue, 21 Mar 2023 15:31:22 +0000 (11:31 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Apr 2023 22:36:46 +0000 (18:36 -0400)
commit7a1187eab0111ac52ec216f2c18cb7822fec4a4c
tree3ac8685d7088796da6a51b8fdbe47a52322c8b9e
parent5e9252d8415f50095c854c85cf9ebcc894e9ac0d
drm/amd/display: Program OTG vtotal min/max selectors unconditionally

OTG_V_TOTAL_MIN/MAX_SEL bits are required to be programmed to 1 if
writes to OTG timing registers need to be honoured. This is usually
needed only when freesync is active. However, SubVP + DRR requires that
we're able to change timing even without freesync being active (but
supported). By unconditionally writing this bit to 1, we remove an
unnecessary dependency so that DMCUB can change OTG timing whenever it wants.

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_optc.c