From owner-svn-ports-all@freebsd.org Mon Dec 23 20:33:04 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 99F9E1CFEEF; Mon, 23 Dec 2019 20:33:04 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47hWJJ3bRqz42V4; Mon, 23 Dec 2019 20:33:04 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5C8D21D401; Mon, 23 Dec 2019 20:33:04 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBNKX4xf032382; Mon, 23 Dec 2019 20:33:04 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBNKX3us032376; Mon, 23 Dec 2019 20:33:03 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201912232033.xBNKX3us032376@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 23 Dec 2019 20:33:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520742 - in head: lang/intel-compute-runtime lang/intel-compute-runtime/files multimedia/gmmlib multimedia/libva-intel-media-driver X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head: lang/intel-compute-runtime lang/intel-compute-runtime/files multimedia/gmmlib multimedia/libva-intel-media-driver X-SVN-Commit-Revision: 520742 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Dec 2019 20:33:04 -0000 Author: jbeich Date: Mon Dec 23 20:33:02 2019 New Revision: 520742 URL: https://svnweb.freebsd.org/changeset/ports/520742 Log: multimedia/gmmlib: update to 19.4.1 Changes: https://github.com/intel/gmmlib/compare/intel-gmmlib-19.3.4...intel-gmmlib-19.4.1 Added: head/lang/intel-compute-runtime/files/patch-gmmlib-adapter (contents, props changed) Modified: head/lang/intel-compute-runtime/Makefile (contents, props changed) head/multimedia/gmmlib/Makefile (contents, props changed) head/multimedia/gmmlib/distinfo (contents, props changed) head/multimedia/gmmlib/pkg-plist (contents, props changed) head/multimedia/libva-intel-media-driver/Makefile (contents, props changed) Modified: head/lang/intel-compute-runtime/Makefile ============================================================================== --- head/lang/intel-compute-runtime/Makefile Mon Dec 23 20:31:19 2019 (r520741) +++ head/lang/intel-compute-runtime/Makefile Mon Dec 23 20:33:02 2019 (r520742) @@ -2,6 +2,7 @@ PORTNAME= compute-runtime DISTVERSION= 19.50.15079 +PORTREVISION= 1 CATEGORIES= lang PKGNAMEPREFIX= intel- Added: head/lang/intel-compute-runtime/files/patch-gmmlib-adapter ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/intel-compute-runtime/files/patch-gmmlib-adapter Mon Dec 23 20:33:02 2019 (r520742) @@ -0,0 +1,171 @@ +https://github.com/intel/compute-runtime/pull/244 + +In file included from runtime/kernel/kernel.cpp:10: +core/gmm_helper/gmm_helper.h:42:129: error: use of undeclared identifier 'GmmDestroy' + static std::unique_ptr (*createGmmContextWrapperFunc)(HardwareInfo *, decltype(&InitializeGmm), decltype(&GmmDestroy)); + ^ +core/gmm_helper/gmm_helper.h:51:15: error: use of undeclared identifier 'GmmDestroy' + decltype(&GmmDestroy) destroyGmmFunc; + ^ + +--- core/gmm_helper/gmm_helper.h.orig 2019-12-09 17:18:41 UTC ++++ core/gmm_helper/gmm_helper.h +@@ -39,7 +39,7 @@ class GmmHelper { + + GmmClientContext *getClientContext() const; + +- static std::unique_ptr (*createGmmContextWrapperFunc)(HardwareInfo *, decltype(&InitializeGmm), decltype(&GmmDestroy)); ++ static std::unique_ptr (*createGmmContextWrapperFunc)(HardwareInfo *, decltype(&InitializeGmm), decltype(&GmmAdapterDestroy)); + + protected: + void loadLib(); +@@ -48,6 +48,6 @@ class GmmHelper { + std::unique_ptr gmmLib; + std::unique_ptr gmmClientContext; + decltype(&InitializeGmm) initGmmFunc; +- decltype(&GmmDestroy) destroyGmmFunc; ++ decltype(&GmmAdapterDestroy) destroyGmmFunc; + }; + } // namespace NEO +--- runtime/dll/linux/options.cpp.orig 2019-12-09 17:18:41 UTC ++++ runtime/dll/linux/options.cpp +@@ -16,8 +16,8 @@ const char *frontEndDllName = FCL_LIBRARY_NAME; + const char *igcDllName = IGC_LIBRARY_NAME; + const char *libvaDllName = "libva.so.2"; + const char *gmmDllName = GMM_UMD_DLL; +-const char *gmmInitFuncName = GMM_INIT_NAME; +-const char *gmmDestroyFuncName = GMM_DESTROY_NAME; ++const char *gmmInitFuncName = GMM_ADAPTER_INIT_NAME; ++const char *gmmDestroyFuncName = GMM_ADAPTER_DESTROY_NAME; + + const char *sysFsPciPath = "/sys/bus/pci/devices/"; + const char *tbxLibName = "libtbxAccess.so"; +--- runtime/dll/windows/options.cpp.orig 2019-12-09 17:18:41 UTC ++++ runtime/dll/windows/options.cpp +@@ -14,8 +14,8 @@ const char *frontEndDllName = FCL_LIBRARY_NAME; + const char *igcDllName = IGC_LIBRARY_NAME; + const char *gdiDllName = "gdi32.dll"; + const char *gmmDllName = GMM_UMD_DLL; +-const char *gmmInitFuncName = GMM_INIT_NAME; +-const char *gmmDestroyFuncName = GMM_DESTROY_NAME; ++const char *gmmInitFuncName = GMM_ADAPTER_INIT_NAME; ++const char *gmmDestroyFuncName = GMM_ADAPTER_DESTROY_NAME; + + // Os specific Metrics Library name + #if _WIN64 +--- runtime/gmm_helper/client_context/gmm_client_context.cpp.orig 2019-12-09 17:18:41 UTC ++++ runtime/gmm_helper/client_context/gmm_client_context.cpp +@@ -8,5 +8,5 @@ + #include "gmm_client_context.h" + + namespace NEO { +-GmmClientContext::GmmClientContext(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmDestroy) destroyFunc) : GmmClientContextBase(hwInfo, initFunc, destroyFunc){}; ++GmmClientContext::GmmClientContext(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmAdapterDestroy) destroyFunc) : GmmClientContextBase(hwInfo, initFunc, destroyFunc){}; + } // namespace NEO +--- runtime/gmm_helper/client_context/gmm_client_context.h.orig 2019-12-09 17:18:41 UTC ++++ runtime/gmm_helper/client_context/gmm_client_context.h +@@ -11,6 +11,6 @@ + namespace NEO { + class GmmClientContext : public GmmClientContextBase { + public: +- GmmClientContext(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmDestroy) destroyFunc); ++ GmmClientContext(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmAdapterDestroy) destroyFunc); + }; + } // namespace NEO +--- runtime/gmm_helper/client_context/gmm_client_context_base.cpp.orig 2019-12-09 17:18:41 UTC ++++ runtime/gmm_helper/client_context/gmm_client_context_base.cpp +@@ -16,7 +16,7 @@ + #include "runtime/platform/platform.h" + + namespace NEO { +-GmmClientContextBase::GmmClientContextBase(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmDestroy) destroyFunc) : destroyFunc(destroyFunc) { ++GmmClientContextBase::GmmClientContextBase(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmAdapterDestroy) destroyFunc) : destroyFunc(destroyFunc) { + _SKU_FEATURE_TABLE gmmFtrTable = {}; + _WA_TABLE gmmWaTable = {}; + SkuInfoTransfer::transferFtrTableForGmm(&gmmFtrTable, &hwInfo->featureTable); +--- runtime/gmm_helper/client_context/gmm_client_context_base.h.orig 2019-12-09 17:18:41 UTC ++++ runtime/gmm_helper/client_context/gmm_client_context_base.h +@@ -24,7 +24,7 @@ class GmmClientContextBase { + MOCKABLE_VIRTUAL void destroyResInfoObject(GMM_RESOURCE_INFO *pResInfo); + GMM_CLIENT_CONTEXT *getHandle() const; + template +- static std::unique_ptr create(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmDestroy) destroyFunc) { ++ static std::unique_ptr create(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmAdapterDestroy) destroyFunc) { + return std::make_unique(hwInfo, initFunc, destroyFunc); + } + +@@ -33,7 +33,7 @@ class GmmClientContextBase { + + protected: + GMM_CLIENT_CONTEXT *clientContext; +- GmmClientContextBase(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmDestroy) destroyFunc); +- decltype(&GmmDestroy) destroyFunc; ++ GmmClientContextBase(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmAdapterDestroy) destroyFunc); ++ decltype(&GmmAdapterDestroy) destroyFunc; + }; + } // namespace NEO +--- runtime/gmm_helper/gmm_interface.cpp.orig 2019-12-09 17:18:41 UTC ++++ runtime/gmm_helper/gmm_interface.cpp +@@ -21,7 +21,7 @@ void GmmHelper::loadLib() { + gmmLib.reset(OsLibrary::load(Os::gmmDllName)); + UNRECOVERABLE_IF(!gmmLib); + initGmmFunc = reinterpret_cast(gmmLib->getProcAddress(Os::gmmInitFuncName)); +- destroyGmmFunc = reinterpret_cast(gmmLib->getProcAddress(Os::gmmDestroyFuncName)); ++ destroyGmmFunc = reinterpret_cast(gmmLib->getProcAddress(Os::gmmDestroyFuncName)); + UNRECOVERABLE_IF(!initGmmFunc || !destroyGmmFunc); + } + } // namespace NEO +--- unit_tests/main.cpp.orig 2019-12-09 17:18:41 UTC ++++ unit_tests/main.cpp +@@ -456,8 +456,8 @@ int main(int argc, char **argv) { + #endif + if (!useMockGmm) { + Os::gmmDllName = GMM_UMD_DLL; +- Os::gmmInitFuncName = GMM_INIT_NAME; +- Os::gmmDestroyFuncName = GMM_DESTROY_NAME; ++ Os::gmmInitFuncName = GMM_ADAPTER_INIT_NAME; ++ Os::gmmDestroyFuncName = GMM_ADAPTER_DESTROY_NAME; + } else { + GmmHelper::createGmmContextWrapperFunc = GmmClientContextBase::create; + } +--- unit_tests/mocks/mock_gmm_client_context.cpp.orig 2019-12-09 17:18:41 UTC ++++ unit_tests/mocks/mock_gmm_client_context.cpp +@@ -8,6 +8,6 @@ + #include "mock_gmm_client_context.h" + + namespace NEO { +-MockGmmClientContext::MockGmmClientContext(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmDestroy) destroyFunc) : MockGmmClientContextBase(hwInfo, initFunc, destroyFunc) { ++MockGmmClientContext::MockGmmClientContext(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmAdapterDestroy) destroyFunc) : MockGmmClientContextBase(hwInfo, initFunc, destroyFunc) { + } + } // namespace NEO +--- unit_tests/mocks/mock_gmm_client_context.h.orig 2019-12-09 17:18:41 UTC ++++ unit_tests/mocks/mock_gmm_client_context.h +@@ -11,6 +11,6 @@ + namespace NEO { + class MockGmmClientContext : public MockGmmClientContextBase { + public: +- MockGmmClientContext(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmDestroy) destroyFunc); ++ MockGmmClientContext(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmAdapterDestroy) destroyFunc); + }; + } // namespace NEO +--- unit_tests/mocks/mock_gmm_client_context_base.cpp.orig 2019-12-09 17:18:41 UTC ++++ unit_tests/mocks/mock_gmm_client_context_base.cpp +@@ -8,7 +8,7 @@ + #include "unit_tests/mocks/mock_gmm_client_context.h" + + namespace NEO { +-MockGmmClientContextBase::MockGmmClientContextBase(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmDestroy) destroyFunc) : GmmClientContext(hwInfo, initFunc, destroyFunc) { ++MockGmmClientContextBase::MockGmmClientContextBase(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmAdapterDestroy) destroyFunc) : GmmClientContext(hwInfo, initFunc, destroyFunc) { + } + + MEMORY_OBJECT_CONTROL_STATE MockGmmClientContextBase::cachePolicyGetMemoryObject(GMM_RESOURCE_INFO *pResInfo, GMM_RESOURCE_USAGE_TYPE usage) { +--- unit_tests/mocks/mock_gmm_client_context_base.h.orig 2019-12-09 17:18:41 UTC ++++ unit_tests/mocks/mock_gmm_client_context_base.h +@@ -24,6 +24,6 @@ class MockGmmClientContextBase : public GmmClientConte + uint32_t getMediaSurfaceStateCompressionFormatCalled = 0u; + + protected: +- MockGmmClientContextBase(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmDestroy) destroyFuncs); ++ MockGmmClientContextBase(HardwareInfo *hwInfo, decltype(&InitializeGmm) initFunc, decltype(&GmmAdapterDestroy) destroyFuncs); + }; + } // namespace NEO Modified: head/multimedia/gmmlib/Makefile ============================================================================== --- head/multimedia/gmmlib/Makefile Mon Dec 23 20:31:19 2019 (r520741) +++ head/multimedia/gmmlib/Makefile Mon Dec 23 20:33:02 2019 (r520742) @@ -2,7 +2,7 @@ PORTNAME= gmmlib DISTVERSIONPREFIX= intel-${PORTNAME}- -DISTVERSION= 19.3.4 +DISTVERSION= 19.4.1 CATEGORIES= multimedia MAINTAINER= jbeich@FreeBSD.org Modified: head/multimedia/gmmlib/distinfo ============================================================================== --- head/multimedia/gmmlib/distinfo Mon Dec 23 20:31:19 2019 (r520741) +++ head/multimedia/gmmlib/distinfo Mon Dec 23 20:33:02 2019 (r520742) @@ -1,3 +1,3 @@ -TIMESTAMP = 1571736914 -SHA256 (intel-gmmlib-intel-gmmlib-19.3.4_GH0.tar.gz) = 5f08e36892db6bff8284913d9ab784f693d50e4ea1eb2ea6d2545e3dc6876b71 -SIZE (intel-gmmlib-intel-gmmlib-19.3.4_GH0.tar.gz) = 706943 +TIMESTAMP = 1576822167 +SHA256 (intel-gmmlib-intel-gmmlib-19.4.1_GH0.tar.gz) = bb874b41c499abb8f6253b1834e93a02ed9744de71f2503ee9cd4100af7c1860 +SIZE (intel-gmmlib-intel-gmmlib-19.4.1_GH0.tar.gz) = 707375 Modified: head/multimedia/gmmlib/pkg-plist ============================================================================== --- head/multimedia/gmmlib/pkg-plist Mon Dec 23 20:31:19 2019 (r520741) +++ head/multimedia/gmmlib/pkg-plist Mon Dec 23 20:33:02 2019 (r520742) @@ -58,6 +58,6 @@ include/igdgmm/inc/umKmInc/sharedata.h include/igdgmm/util/g_gfxDebug.h include/igdgmm/util/gfxDebug.h lib/libigdgmm.so -lib/libigdgmm.so.12 -lib/libigdgmm.so.12.0.0 +lib/libigdgmm.so.11 +lib/libigdgmm.so.11.1.0 libdata/pkgconfig/igdgmm.pc Modified: head/multimedia/libva-intel-media-driver/Makefile ============================================================================== --- head/multimedia/libva-intel-media-driver/Makefile Mon Dec 23 20:31:19 2019 (r520741) +++ head/multimedia/libva-intel-media-driver/Makefile Mon Dec 23 20:33:02 2019 (r520742) @@ -3,7 +3,7 @@ PORTNAME= media-driver DISTVERSIONPREFIX= intel-media- DISTVERSION= 19.4.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia PKGNAMEPREFIX= libva-intel-