FreeBSD Bugzilla – Attachment 212484 Details for
Bug 244877
graphics/mesa-dri: Fix vulkan by switching to unsynchronized userptr ioctls
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mesa-dri: patch for anv_gem.c
mesa-dri-unsynchronized-v0.diff (text/plain), 894 bytes, created by
Austin Shafer
on 2020-03-18 00:57:35 UTC
(
hide
)
Description:
mesa-dri: patch for anv_gem.c
Filename:
MIME Type:
Creator:
Austin Shafer
Created:
2020-03-18 00:57:35 UTC
Size:
894 bytes
patch
obsolete
>Index: files/patch-src_intel_vulkan_anv__gem.c >=================================================================== >--- files/patch-src_intel_vulkan_anv__gem.c (revision 527733) >+++ files/patch-src_intel_vulkan_anv__gem.c (working copy) >@@ -1,6 +1,6 @@ > - Define ETIME if missing > >---- src/intel/vulkan/anv_gem.c.orig 2017-10-23 13:21:18 UTC >+--- src/intel/vulkan/anv_gem.c.orig 2019-01-17 11:26:23 UTC > +++ src/intel/vulkan/anv_gem.c > @@ -26,6 +26,9 @@ > #include <sys/mman.h> >@@ -12,3 +12,12 @@ > #include <unistd.h> > #include <fcntl.h> > >+@@ -113,7 +116,7 @@ anv_gem_userptr(struct anv_device *device, void *mem, >+ struct drm_i915_gem_userptr userptr = { >+ .user_ptr = (__u64)((unsigned long) mem), >+ .user_size = size, >+- .flags = 0, >++ .flags = I915_USERPTR_UNSYNCHRONIZED, >+ }; >+ >+ int ret = anv_ioctl(device->fd, DRM_IOCTL_I915_GEM_USERPTR, &userptr);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 244877
:
212484
|
212502