diff options
author | Hamza Mahfooz <hamza.mahfooz@amd.com> | 2023-09-07 08:15:14 -0400 |
---|---|---|
committer | Shashank Sharma <contactshashanksharma@gmail.com> | 2023-09-25 19:50:21 +0200 |
commit | 31a092ae71371fb473a3a51f70fe58e1f42e283b (patch) | |
tree | 5e5344f8d753344f3ee55a3c0eb991e1fd74526c /man | |
parent | ae22d12d420efbd8847f9b64b37e7a4cadde2600 (diff) |
Enable TearFree if it's set to auto and VariableRefresh is enabled
As of kernel commit 1ca67aba8d11 ("drm/amd/display: only accept async
flips for fast updates"), we reject async flips that used to be silently
degraded to vsync. However, this causes issues for VRR if TearFree isn't
enabled, in particular we have seen that VRR fails to engage on a
handful of tested applications and in one case we even observed an
application soft hang. So, if TearFree is set to auto we should enable
it if VariableRefresh is enabled and we should warn users if they try to
enable VariableRefresh while TearFree is disabled.
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/amdgpu.man | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man/amdgpu.man b/man/amdgpu.man index 54b5bd4..4ec2074 100644 --- a/man/amdgpu.man +++ b/man/amdgpu.man @@ -81,7 +81,8 @@ on. If this option is set, the default value of the property is 'on' or 'off' accordingly. If this option isn't set, the default value of the property is .B auto, which means that TearFree is on for rotated outputs, outputs with RandR -transforms applied and for RandR 1.4 secondary outputs, otherwise off. +transforms applied, for RandR 1.4 secondary outputs and if 'VariableRefresh' +is enabled, otherwise it's off. .TP .BI "Option \*qVariableRefresh\*q \*q" boolean \*q Enables support for enabling variable refresh on the Screen's CRTCs |