]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: refactor vupdate interrupt registration
authorAnthony Koo <Anthony.Koo@amd.com>
Fri, 6 Apr 2018 17:55:39 +0000 (13:55 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:54 +0000 (11:10 -0500)
commitc7b5bcd43d81618a8b54ded18edc476df5eb719f
tree2eccf98642587febc089fe36a39649cca9ffb056
parente39ae29599c2099602eef738ff0c83a7a072bcbf
drm/amd/display: refactor vupdate interrupt registration

We only need to register once OS calls the interrupt control.
Also, if we are entering static screen mode, disable after ramping is done.
Disable shall be done via timer of 2 seconds regardless of ramping
complete or not, just to simplify.

Also, ramp to mid instead of min, due to better flicker performance...

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@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