aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_gpu_info.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-01-04 00:19:41 +0100
committerBas Nieuwenhuizen <[email protected]>2018-01-04 01:12:09 +0100
commit79724c89f848ce606126bf2b8c669d9738c2b8ce (patch)
tree54cd98775eecbc512ec320791886a31b5db9459e /src/amd/common/ac_gpu_info.h
parentc99426ea831f9e38624bbd1d2f0bc54bdfaf2b6b (diff)
ac: rename has_sync_file to has_fence_to_handle.
sync_files are in linux since 4.7, while the amdgpu fence_to_handle ioctl is only in 4.15. In particular we don't need it for sync_file in radv, because everything happens via syncobjs, which got support earlier than fence_to_handle. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_gpu_info.h')
-rw-r--r--src/amd/common/ac_gpu_info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_gpu_info.h b/src/amd/common/ac_gpu_info.h
index 235cc245bd9..cca3e98d366 100644
--- a/src/amd/common/ac_gpu_info.h
+++ b/src/amd/common/ac_gpu_info.h
@@ -82,7 +82,7 @@ struct radeon_info {
bool has_userptr;
bool has_syncobj;
bool has_syncobj_wait_for_submit;
- bool has_sync_file;
+ bool has_fence_to_handle;
bool has_ctx_priority;
/* Shader cores. */