summaryrefslogtreecommitdiff
path: root/src/amdgpu_video.h
diff options
context:
space:
mode:
authorHamza Mahfooz <hamza.mahfooz@amd.com>2023-09-07 08:15:14 -0400
committerShashank Sharma <contactshashanksharma@gmail.com>2023-09-25 19:50:21 +0200
commit31a092ae71371fb473a3a51f70fe58e1f42e283b (patch)
tree5e5344f8d753344f3ee55a3c0eb991e1fd74526c /src/amdgpu_video.h
parentae22d12d420efbd8847f9b64b37e7a4cadde2600 (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 'src/amdgpu_video.h')
0 files changed, 0 insertions, 0 deletions