drm/amd/display: set ignore msa parameter only if freesync is enabled
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Wed, 7 Dec 2022 15:09:53 +0000 (10:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Jan 2023 21:57:57 +0000 (16:57 -0500)
commit6ffa679916474b26c9b6c81003b42f2e1f0feda1
tree76cfb441e51e1e328faf2e87b64a5f354610f20a
parent0e8cf83a2b47d9ced42839b847b4c3f1c205238e
drm/amd/display: set ignore msa parameter only if freesync is enabled

[Why&How]

ignore_msa_timing_param is used by SubVP logic to determine if SubVP
+ DRR is possible. Linux does not support freesync on multi display
config, which results in incorrect assumption of VRR support if we
set this parameter when VRR is supported, but not enabled.

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c