drm/amd/display: Add check for vrr_active_fixed
authorAustin Zheng <austin.zheng@amd.com>
Fri, 25 Aug 2023 14:51:49 +0000 (10:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Sep 2023 21:17:51 +0000 (17:17 -0400)
commitc06ef68a794619576a378d4e19cc6ef94fa03b62
treed3aab6dfaba95f75533bcd715eb03c086d363e7a
parent9aa75e3baadb9b02fb81c18dc7c361c54aad57b6
drm/amd/display: Add check for vrr_active_fixed

Why:
vrr_active_fixed should also be checked when
determining if DRR is in use

How:
Add check for vrr_active_fixed when allow_freesync
and vrr_active_variable are also checked

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Austin Zheng <austin.zheng@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource_helpers.c
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c