Changeset View
Changeset View
Standalone View
Standalone View
graphics/mesa/files/patch-src_intel_vulkan_anv__queue.c
- Define ETIME if missing | - Define ETIME if missing | ||||
- Drop header that was never used | |||||
--- src/intel/vulkan/anv_queue.c.orig 2017-10-23 13:21:18 UTC | --- src/intel/vulkan/anv_queue.c.orig 2020-01-14 09:25:11.334523000 +0100 | ||||
+++ src/intel/vulkan/anv_queue.c | +++ src/intel/vulkan/anv_queue.c 2020-01-14 09:26:09.184071000 +0100 | ||||
@@ -26,8 +26,11 @@ | @@ -33,6 +33,10 @@ | ||||
*/ | |||||
#include <fcntl.h> | #include "genxml/gen7_pack.h" | ||||
+#include <errno.h> | |||||
+#ifndef ETIME | +#ifndef ETIME | ||||
+#define ETIME ETIMEDOUT | +#define ETIME ETIMEDOUT | ||||
+#endif | +#endif | ||||
#include <unistd.h> | + | ||||
-#include <sys/eventfd.h> | VkResult | ||||
anv_device_execbuf(struct anv_device *device, | |||||
#include "anv_private.h" | struct drm_i915_gem_execbuffer2 *execbuf, | ||||
#include "vk_util.h" |