]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8ca47a4da57e35623d59886eb01b4545baa99594
treeec7075ee24a80cf118c53f153ca0cc9a2ae64dd3
parent7a9f0b92685be9dad2b4b75421a0bdb3d8303073
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