drm/amd/display: Fix DRR Enable on Desktop
authorAmy Zhang <Amy.Zhang@amd.com>
Fri, 2 Jun 2017 20:33:47 +0000 (16:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:07:51 +0000 (18:07 -0400)
commitfc82c5cb306d6f201cdee2c4c092ff49c6929634
tree27d286c19343f4afd9d2cb8ae85f5ba50874b83d
parent9f72f51d701cd2dd87a157d972650924fe91ec80
drm/amd/display: Fix DRR Enable on Desktop

- Block PSR in Full screen apps to prevent incorrect static screen curser events
- Reprogram static screen events when update freesync state
- Program static ramp variable active after other values are programmed
- Correct wrong assigning of the nominal and current vcount

Signed-off-by: Amy Zhang <Amy.Zhang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/freesync/freesync.c
drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h