From: Emil Velikov Date: Thu, 6 Apr 2017 12:01:26 +0000 (+0100) Subject: anv: provide anv_gem_busy() stub for the tests X-Git-Tag: upstream/17.1.0~452 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5318d1ff94b474103a69e16af25bf641dad20a7b;p=platform%2Fupstream%2Fmesa.git 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 --- diff --git a/src/intel/vulkan/anv_gem_stubs.c b/src/intel/vulkan/anv_gem_stubs.c index 74794d4..a63e96d 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;