diff options
author | Emil Velikov <[email protected]> | 2017-04-06 13:01:26 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-04-07 19:45:58 +0100 |
commit | 5318d1ff94b474103a69e16af25bf641dad20a7b (patch) | |
tree | 662d08691f4e2ec96e40fd4d8a34638248d33dbb /src/intel | |
parent | 3b32ec3ba65deefedfe74e594872e675d34a310a (diff) |
anv: provide anv_gem_busy() stub for the tests
Otherwise linking way fail.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100600
Fixes: f195d40eca4 ("anv/device: Add a helper for querying whether a BO is busy")
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Juan A. Suarez Romero <[email protected]>
Tested-by: Vinson Lee <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_gem_stubs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_gem_stubs.c b/src/intel/vulkan/anv_gem_stubs.c index 74794d4ffe5..a63e96d52be 100644 --- a/src/intel/vulkan/anv_gem_stubs.c +++ b/src/intel/vulkan/anv_gem_stubs.c @@ -81,6 +81,12 @@ anv_gem_userptr(struct anv_device *device, void *mem, size_t size) } int +anv_gem_busy(struct anv_device *device, uint32_t gem_handle) +{ + return 0; +} + +int anv_gem_wait(struct anv_device *device, uint32_t gem_handle, int64_t *timeout_ns) { return 0; |