OSDN Git Service

drm/amd/display: Clear state after exiting fixed active VRR state
authorAmanda Liu <amanda.liu@amd.com>
Fri, 6 Dec 2019 20:12:30 +0000 (15:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 18:41:15 +0000 (13:41 -0500)
commit6f8f76444baf405bacb0591d97549a71a9aaa1ac
treeec7075ee24a80cf118c53f153ca0cc9a2ae64dd3
parentd1dcb05f0e45f97061d5c1f921aa038f1ae92c7b
drm/amd/display: Clear state after exiting fixed active VRR state

[why]
Upon exiting a fixed active VRR state, the state isn't cleared. This
leads to the variable VRR range to be calculated incorrectly.

[how]
Set fixed active state to false when updating vrr params

Signed-off-by: Amanda Liu <amanda.liu@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/freesync/freesync.c