View | Details | Raw Unified | Return to bug 244877 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-src_intel_vulkan_anv__gem.c (-1 / +10 lines)
Lines 1-6 Link Here
1
- Define ETIME if missing
1
- Define ETIME if missing
2
2
3
--- src/intel/vulkan/anv_gem.c.orig	2017-10-23 13:21:18 UTC
3
--- src/intel/vulkan/anv_gem.c.orig	2019-01-17 11:26:23 UTC
4
+++ src/intel/vulkan/anv_gem.c
4
+++ src/intel/vulkan/anv_gem.c
5
@@ -26,6 +26,9 @@
5
@@ -26,6 +26,9 @@
6
 #include <sys/mman.h>
6
 #include <sys/mman.h>
Lines 12-14 Link Here
12
 #include <unistd.h>
12
 #include <unistd.h>
13
 #include <fcntl.h>
13
 #include <fcntl.h>
14
 
14
 
15
@@ -113,7 +116,7 @@ anv_gem_userptr(struct anv_device *device, void *mem, 
16
    struct drm_i915_gem_userptr userptr = {
17
       .user_ptr = (__u64)((unsigned long) mem),
18
       .user_size = size,
19
-      .flags = 0,
20
+      .flags = I915_USERPTR_UNSYNCHRONIZED,
21
    };
22
 
23
    int ret = anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_USERPTR, &userptr);

Return to bug 244877