anv: Implement VK_EXT_global_priority_query

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11250>
This commit is contained in:
Jason Ekstrand
2021-05-25 10:30:49 -05:00
committed by Marge Bot
parent e7599f09a1
commit 39f2594531
4 changed files with 75 additions and 27 deletions

View File

@@ -386,10 +386,10 @@ close_and_return:
}
bool
anv_gem_has_context_priority(int fd)
anv_gem_has_context_priority(int fd, int priority)
{
return !anv_gem_set_context_param(fd, 0, I915_CONTEXT_PARAM_PRIORITY,
INTEL_CONTEXT_MEDIUM_PRIORITY);
priority);
}
int