diff options
| author | Amanda Liu <[email protected]> | 2019-11-21 21:06:57 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-12-18 21:09:08 +0000 |
| commit | ded6119e825aaf0bfc7f2a578b549d610da852a7 (patch) | |
| tree | 773673a993c4dbe4daccd6808494608efaf7a79a /drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h | |
| parent | drm/amd/display: AVI info package change due to spec update (diff) | |
| download | kernel-ded6119e825aaf0bfc7f2a578b549d610da852a7.tar.gz kernel-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 <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
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 { |
