Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2020 16:06:04 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r523972 - in head/lang/intel-compute-runtime: . files
Message-ID:  <202001241606.00OG64ig018851@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Jan 24 16:06:04 2020
New Revision: 523972
URL: https://svnweb.freebsd.org/changeset/ports/523972

Log:
  lang/intel-compute-runtime: update to 20.03.15346
  
  Changes:	https://github.com/intel/compute-runtime/compare/20.02.15268...20.03.15346
  Reported by:	GitHub (watch releases)

Modified:
  head/lang/intel-compute-runtime/Makefile   (contents, props changed)
  head/lang/intel-compute-runtime/distinfo   (contents, props changed)
  head/lang/intel-compute-runtime/files/patch-userptr   (contents, props changed)

Modified: head/lang/intel-compute-runtime/Makefile
==============================================================================
--- head/lang/intel-compute-runtime/Makefile	Fri Jan 24 15:52:06 2020	(r523971)
+++ head/lang/intel-compute-runtime/Makefile	Fri Jan 24 16:06:04 2020	(r523972)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	compute-runtime
-DISTVERSION=	20.02.15268
+DISTVERSION=	20.03.15346
 CATEGORIES=	lang
 PKGNAMEPREFIX=	intel-
 
@@ -17,7 +17,7 @@ ONLY_FOR_ARCHS_REASON=	Only Intel GPUs on x86 are supp
 LIB_DEPENDS=	libigc.so:devel/intel-graphics-compiler \
 		libigdgmm.so:multimedia/gmmlib
 
-USES=		cmake compiler:c++14-lang pkgconfig
+USES=		cmake compiler:c++14-lang localbase:ldflags pkgconfig
 USE_GITHUB=	yes
 USE_LDCONFIG=	yes
 GH_ACCOUNT=	intel

Modified: head/lang/intel-compute-runtime/distinfo
==============================================================================
--- head/lang/intel-compute-runtime/distinfo	Fri Jan 24 15:52:06 2020	(r523971)
+++ head/lang/intel-compute-runtime/distinfo	Fri Jan 24 16:06:04 2020	(r523972)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1578394678
-SHA256 (intel-compute-runtime-20.02.15268_GH0.tar.gz) = e5b2893b7e129ad005b3b9b4ec514343c1f44beca670d5a5d65d0dc6e01cf04d
-SIZE (intel-compute-runtime-20.02.15268_GH0.tar.gz) = 2664394
+TIMESTAMP = 1579087635
+SHA256 (intel-compute-runtime-20.03.15346_GH0.tar.gz) = 6732e7b63ec0c32782e136f6c5ed3276c92c68616240b11183b7cc41237f92a6
+SIZE (intel-compute-runtime-20.03.15346_GH0.tar.gz) = 2671869

Modified: head/lang/intel-compute-runtime/files/patch-userptr
==============================================================================
--- head/lang/intel-compute-runtime/files/patch-userptr	Fri Jan 24 15:52:06 2020	(r523971)
+++ head/lang/intel-compute-runtime/files/patch-userptr	Fri Jan 24 16:06:04 2020	(r523972)
@@ -38,16 +38,16 @@ frame #5: 0x000000080104b4e5 libigdrcl.so`NEO::DrmMemo
    60       }
    61   }
 
---- runtime/os_interface/linux/drm_memory_manager.cpp.orig	2019-11-29 14:23:34 UTC
+--- runtime/os_interface/linux/drm_memory_manager.cpp.orig	2020-01-15 11:27:15 UTC
 +++ runtime/os_interface/linux/drm_memory_manager.cpp
 @@ -141,7 +141,17 @@ NEO::BufferObject *DrmMemoryManager::allocUserptr(uint
      userptr.flags = static_cast<uint32_t>(flags);
  
-     if (this->drm->ioctl(DRM_IOCTL_I915_GEM_USERPTR, &userptr) != 0) {
+     if (this->getDrm(rootDeviceIndex).ioctl(DRM_IOCTL_I915_GEM_USERPTR, &userptr) != 0) {
 -        return nullptr;
 +        if (errno == ENODEV && userptr.flags == 0) {
 +            userptr.flags = I915_USERPTR_UNSYNCHRONIZED;
-+            if (this->drm->ioctl(DRM_IOCTL_I915_GEM_USERPTR, &userptr) != 0) {
++            if (this->getDrm(rootDeviceIndex).ioctl(DRM_IOCTL_I915_GEM_USERPTR, &userptr) != 0) {
 +                if (geteuid() != 0) {
 +                    printDebugString(true, stderr, "%s", "ioctl(I915_GEM_USERPTR) failed. Try running as root but expect poor stability.\n");
 +                }
@@ -58,4 +58,4 @@ frame #5: 0x000000080104b4e5 libigdrcl.so`NEO::DrmMemo
 +        }
      }
  
-     auto res = new (std::nothrow) BufferObject(this->drm, userptr.handle, rootDeviceIndex);
+     auto res = new (std::nothrow) BufferObject(&getDrm(rootDeviceIndex), userptr.handle, rootDeviceIndex);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001241606.00OG64ig018851>