summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_gpu_info.c
diff options
context:
space:
mode:
authorAndres Rodriguez <[email protected]>2017-10-20 18:02:16 -0400
committerBas Nieuwenhuizen <[email protected]>2017-10-21 01:01:44 +0200
commit92724338ba2db433f99f4017a18d2ee4f6601d6c (patch)
tree565db29ef8f66d411502ab7ad9fc770b593237ab /src/amd/common/ac_gpu_info.c
parent9f7edf4d1f4e2d6acf5ed520ce85815fb1c5d884 (diff)
radv: Expose VK_EXT_global_priority
Expose the extension string as supported Signed-off-by: Andres Rodriguez <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common/ac_gpu_info.c')
-rw-r--r--src/amd/common/ac_gpu_info.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c
index 82ff18d4366..2e560125508 100644
--- a/src/amd/common/ac_gpu_info.c
+++ b/src/amd/common/ac_gpu_info.c
@@ -270,6 +270,7 @@ bool ac_query_gpu_info(int fd, amdgpu_device_handle dev,
info->has_userptr = true;
info->has_syncobj = has_syncobj(fd);
info->has_sync_file = info->has_syncobj && info->drm_minor >= 21;
+ info->has_ctx_priority = info->drm_minor >= 22;
info->num_render_backends = amdinfo->rb_pipes;
info->clock_crystal_freq = amdinfo->gpu_counter_freq;
if (!info->clock_crystal_freq) {