diff options
author | Amanda Liu <amanda.liu@amd.com> | 2019-11-21 16:06:57 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-12-18 16:09:08 -0500 |
commit | ded6119e825aaf0bfc7f2a578b549d610da852a7 (patch) | |
tree | 773673a993c4dbe4daccd6808494608efaf7a79a /drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h | |
parent | 993dca3e53c30ed1c1c4b2c135904d1402fe034f (diff) | |
download | linux-stable-ded6119e825aaf0bfc7f2a578b549d610da852a7.tar.gz linux-stable-ded6119e825aaf0bfc7f2a578b549d610da852a7.tar.bz2 linux-stable-ded6119e825aaf0bfc7f2a578b549d610da852a7.zip |
drm/amd/display: Reinstate LFC optimization
[why]
We want to streamline the calculations made when entering LFC.
Previously, the optimizations led to screen tearing and were backed out
to unblock development.
[how]
Integrate other calculations parameters, as well as screen tearing,
fixes with the original LFC calculation optimizations.
Signed-off-by: Amanda Liu <amanda.liu@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h b/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h index dc187844d10b..dbe7835aabcf 100644 --- a/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h +++ b/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h @@ -92,6 +92,7 @@ struct mod_vrr_params_btr { uint32_t inserted_duration_in_us; uint32_t frames_to_insert; uint32_t frame_counter; + uint32_t margin_in_us; }; struct mod_vrr_params_fixed_refresh { |