aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h
diff options
context:
space:
mode:
authorAmanda Liu <amanda.liu@amd.com>2019-11-21 16:06:57 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-12-18 16:09:08 -0500
commitded6119e825aaf0bfc7f2a578b549d610da852a7 (patch)
tree773673a993c4dbe4daccd6808494608efaf7a79a /drivers/gpu/drm/amd/display/modules/inc/mod_freesync.h
parentdrm/amd/display: AVI info package change due to spec update (diff)
downloadlinux-dev-ded6119e825aaf0bfc7f2a578b549d610da852a7.tar.xz
linux-dev-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.h1
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 {