From 5318d1ff94b474103a69e16af25bf641dad20a7b Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 6 Apr 2017 13:01:26 +0100 Subject: 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 Reviewed-by: Jason Ekstrand Reviewed-by: Juan A. Suarez Romero Tested-by: Vinson Lee --- src/intel/vulkan/anv_gem_stubs.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/intel') 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 @@ -80,6 +80,12 @@ anv_gem_userptr(struct anv_device *device, void *mem, size_t size) return -1; } +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) { -- cgit v1.2.3