diff options
author | Tapani Pälli <[email protected]> | 2018-01-23 14:01:00 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2018-02-28 14:36:57 +0200 |
commit | 6d8ab53303331a2438ab7c89c94be31c44e70bb1 (patch) | |
tree | b8f2cdab7f690e779186123c4d9fda666cc23b76 /src/intel/vulkan/anv_gem_stubs.c | |
parent | 5960023cf4abcd610ae646b094d04cb29f8b4986 (diff) |
anv: implement VK_EXT_global_priority extension
v2: add ANV_CONTEXT_REALTIME_PRIORITY (Chris)
use unreachable with unknown priority (Samuel)
v3: add stubs in gem_stubs.c (Emil)
use priority defines from gen_defines.h
v4: cleanup, add anv_gem_set_context_param (Jason)
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]> (v2)
Reviewed-by: Chris Wilson <[email protected]> (v2)
Reviewed-by: Emil Velikov <[email protected]> (v3)
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_gem_stubs.c')
-rw-r--r-- | src/intel/vulkan/anv_gem_stubs.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_gem_stubs.c b/src/intel/vulkan/anv_gem_stubs.c index 26eb5c8a610..0f4a3f5da00 100644 --- a/src/intel/vulkan/anv_gem_stubs.c +++ b/src/intel/vulkan/anv_gem_stubs.c @@ -147,11 +147,23 @@ anv_gem_destroy_context(struct anv_device *device, int context) } int +anv_gem_set_context_param(int fd, int context, uint32_t param, uint64_t value) +{ + unreachable("Unused"); +} + +int anv_gem_get_context_param(int fd, int context, uint32_t param, uint64_t *value) { unreachable("Unused"); } +bool +anv_gem_has_context_priority(int fd) +{ + unreachable("Unused"); +} + int anv_gem_get_aperture(int fd, uint64_t *size) { |