From: Emil Velikov <[email protected]>

Otherwise linking way fail.

Cc: Jason Ekstrand <[email protected]>
Cc: Vinson Lee <[email protected]>
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]>
---
Using unreachable would also do it - just staying consistent with
surrounding code.
---
 src/intel/vulkan/anv_gem_stubs.c | 6 ++++++
 1 file changed, 6 insertions(+)

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;
-- 
2.11.1

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to