lang/intel-compute-runtime: update to 22.23.23405
Changes: https://github.com/intel/compute-runtime/compare/22.22.23355...22.23.23405 Reported by: GitHub (watch releases)
This commit is contained in:
parent
c1b8b29558
commit
49e8b5dd76
3 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
PORTNAME= compute-runtime
|
||||
DISTVERSION= 22.22.23355
|
||||
DISTVERSION= 22.23.23405
|
||||
CATEGORIES= lang
|
||||
PKGNAMEPREFIX= intel-
|
||||
PKGNAMESUFFIX= -${FLAVOR}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1653506865
|
||||
SHA256 (intel-compute-runtime-22.22.23355_GH0.tar.gz) = dd74b1947784ffbf0acf0ad4011e4fab932c4a9ec3ebd3229270ba3b07dd28e0
|
||||
SIZE (intel-compute-runtime-22.22.23355_GH0.tar.gz) = 5498680
|
||||
TIMESTAMP = 1654107032
|
||||
SHA256 (intel-compute-runtime-22.23.23405_GH0.tar.gz) = ce594214b6e6424e53cf41c9c36325ecb84910230fda66b557cd13f275bc6c95
|
||||
SIZE (intel-compute-runtime-22.23.23405_GH0.tar.gz) = 5515173
|
||||
|
|
|
@ -38,16 +38,16 @@ frame #5: 0x000000080104b4e5 libigdrcl.so`NEO::DrmMemoryManager::DrmMemoryManage
|
|||
60 }
|
||||
61 }
|
||||
|
||||
--- shared/source/os_interface/linux/drm_memory_manager.cpp.orig 2022-04-25 08:39:54 UTC
|
||||
--- shared/source/os_interface/linux/drm_memory_manager.cpp.orig 2022-06-01 18:10:32 UTC
|
||||
+++ shared/source/os_interface/linux/drm_memory_manager.cpp
|
||||
@@ -246,7 +246,17 @@ NEO::BufferObject *DrmMemoryManager::allocUserptr(uint
|
||||
@@ -248,7 +248,17 @@ NEO::BufferObject *DrmMemoryManager::allocUserptr(uint
|
||||
auto &drm = this->getDrm(rootDeviceIndex);
|
||||
|
||||
if (drm.ioctl(DRM_IOCTL_I915_GEM_USERPTR, &userptr) != 0) {
|
||||
if (drm.ioctl(DrmIoctl::GemUserptr, &userptr) != 0) {
|
||||
- return nullptr;
|
||||
+ if (errno == ENODEV && userptr.flags == 0) {
|
||||
+ userptr.flags = I915_USERPTR_UNSYNCHRONIZED;
|
||||
+ if (drm.ioctl(DRM_IOCTL_I915_GEM_USERPTR, &userptr) != 0) {
|
||||
+ if (drm.ioctl(DrmIoctl::GemUserptr, &userptr) != 0) {
|
||||
+ if (geteuid() != 0) {
|
||||
+ printDebugString(true, stderr, "%s", "ioctl(I915_GEM_USERPTR) failed. Try running as root but expect poor stability.\n");
|
||||
+ }
|
||||
|
|
Loading…
Reference in a new issue