drm/amd/display: Fix FreeSync active bit issue
authorLeo (Hanghong) Ma <hanghong.ma@amd.com>
Wed, 1 Feb 2023 21:51:42 +0000 (16:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Feb 2023 21:06:10 +0000 (16:06 -0500)
commit6cfb6df2d645c00513ecf17832928e08979fa953
tree659a5f849949c016b4c6ad379aa3f71cae5c312e
parentba7606846579ce6b1eca25b196e0f88de7e3becf
drm/amd/display: Fix FreeSync active bit issue

[Why]
The FreeSync active bit unconditionally set in HDMI VSIF.

[How]
Set this bit to true when FAMS is enable on desktop.

Reviewed-by: Felipe Clark <felipe.clark@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Leo (Hanghong) Ma <hanghong.ma@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/freesync/freesync.c