commit 43b0a9b51e277e836e42a5637f22e053d741795a0b51dc80c119d136b8b42e92 Author: Adrian Schröter Date: Fri May 3 12:56:54 2024 +0200 Sync from SUSE:SLFO:Main gmmlib revision 5195ee1e9c6cda69cb8bca4bccd901f5 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..4b0465f --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libigdgmm12 diff --git a/gmmlib.changes b/gmmlib.changes new file mode 100644 index 0000000..3065d30 --- /dev/null +++ b/gmmlib.changes @@ -0,0 +1,248 @@ +------------------------------------------------------------------- +Mon Jan 22 09:25:55 UTC 2024 - Dirk Müller + +- update to 22.3.17: + * Fix possible integer overflow + * Assert and return on divide by zero (#187) + * Update DG2 device ID macro (#183) + +------------------------------------------------------------------- +Mon Dec 18 08:59:37 UTC 2023 - Dirk Müller + +- update to 22.3.16: + * Fix to align HAlign to 128bytes for Linear Packed YUV format + * Add PVC device ID + * Guard FormatTable to be within bound + +------------------------------------------------------------------- +Mon Dec 4 12:05:41 UTC 2023 - Stefan Dirsch + +- This includes latest version of one of the components needed for + Video (processing) hardware support on Intel GPUs (bsc#1217770) + +------------------------------------------------------------------- +Fri Nov 17 10:55:36 UTC 2023 - Dirk Müller + +- update to 22.3.14: + * Add more DG2 Device IDs + +------------------------------------------------------------------- +Tue Nov 14 12:26:45 UTC 2023 - Dirk Müller + +- update to 22.3.13: + * Fix Multiadapter ULT issue reproducibilty + * Add new PVC Device ID + +------------------------------------------------------------------- +Wed Sep 13 12:09:53 UTC 2023 - Dirk Müller + +- update to 22.3.11: + * Add PVC Device ID + * Add more MTL Device IDs + * Replace WaDefaultTile4 with a feature flag + * Multi-threaded fixes for GMM Context info + * Use GmmResGetAuxSurfaceOffset64 + * Fix UnifiedAuxSurvface checks to allow HiZ w/o CCS + * add ARL-S support + * Add device IDs for RPL + +------------------------------------------------------------------- +Sat Apr 15 18:20:23 UTC 2023 - Dirk Müller + +- update to 22.3.5: + * Change Scratch L1 Caching to WB + * Update Cachepolicy for MTL + * Add forceful fallback to support Tile4 using an Ftr flag + * Enable L3 for VP_INPUT_PICTURE_RENDER usage + +------------------------------------------------------------------- +Mon Feb 27 20:21:00 UTC 2023 - Dirk Müller + +- update to 22.3.4: + * remove unused tilewidth, mip4height and mip5height variables + +------------------------------------------------------------------- +Fri Jan 6 08:41:41 UTC 2023 - Dirk Müller + +- update to 22.3.3: + * Initialize Filedescriptor + * Disable MultiAdapter ULT testcases + +------------------------------------------------------------------- +Thu Dec 15 10:39:00 UTC 2022 - Dirk Müller + +- update to 22.3.2: + * Fix tiling selection + * Align SURFTYPE_3D surfaces + * Correct max surface size +- enable building for x86_64 micro-level architectures + +------------------------------------------------------------------- +Sun Dec 4 20:29:49 UTC 2022 - Dirk Müller + +- update to 22.3.1: + * Fix memory leak Destroy allocated resources for ULT + +------------------------------------------------------------------- +Mon Nov 7 15:36:14 UTC 2022 - Stefan Dirsch + +- needed for jira#PED-1174 (Video decoding/encoding support + (VA-API, ...) for Intel GPUs is outside of Mesa) + +------------------------------------------------------------------- +Sun Oct 30 22:18:43 UTC 2022 - Soc Virnyl Estela + +- Update to version 22.3.0: + * Support for default build types + * Add ATS-M Device Ids + * Adding more dg2 device Ids + * Fixing XE_HPC macro usage for Cache Policy settings + * Fix QPtich calculations for CCS + * PVC PAT table implementations + * Initialize NumPATRegisters + * Add PVC Device IDs + * Fix GetPrivatePATEntry API + * Introducing MTL Support + +------------------------------------------------------------------- +Mon Jul 11 11:17:33 UTC 2022 - Stefan Dirsch + +- No code changes +- Update to version 22.1.4 was part of Intel oneVPL GPU Runtime + 2022Q2 Release 22.4.4 + +------------------------------------------------------------------- +Wed Jul 6 03:28:46 UTC 2022 - Soc Virnyl Estela + +- Update to version 22.1.4: + * No upstream changelog available + +------------------------------------------------------------------- +Thu May 26 12:05:30 UTC 2022 - Soc Virnyl Estela + +- Update to version 22.1.2: + * No upstream changelog available + +------------------------------------------------------------------- +Wed Jan 19 19:30:23 UTC 2022 - Bjørn Lie + +- Update to version 22.0.1: + * No upstream changelog available. +- Bump somajor define to 12 and in baselibs.conf following upstream + so bump. +- Replace gcc-c++ with generic c++_compiler BuildRequires. + +------------------------------------------------------------------- +Mon Nov 29 15:45:21 UTC 2021 - Bjørn Lie + +- Update to version 21.3.3: + * No upstream changelog available. + +------------------------------------------------------------------- +Thu Oct 28 12:41:19 UTC 2021 - Jan Engelhardt + +- Allow building on rpmbuild --target=i686. +- Drop R/TM, too hard to get right. + +------------------------------------------------------------------- +Thu Oct 28 10:40:08 UTC 2021 - Stefan Dirsch + +- mention baselibs.conf as source in specfile + +------------------------------------------------------------------- +Mon Oct 25 17:12:32 UTC 2021 - Duarte Pousa + +- Fix 32bit build (dependency for Steam-in-home streaming) + +------------------------------------------------------------------- +Mon Oct 4 14:59:36 UTC 2021 - Stefan Dirsch + +- fixed JIRA number in previous changelog + +------------------------------------------------------------------- +Mon Sep 27 13:13:23 UTC 2021 - Stefan Dirsch + +- covers jira#SLE/SLE-19361 + +------------------------------------------------------------------- +Wed Sep 15 05:48:59 UTC 2021 - Tejas Guruswamy + +- Update to 21.2.2 + * No upstream changelog available. + +------------------------------------------------------------------- +Sat Oct 10 20:53:48 UTC 2020 - Dirk Mueller + +- update to 20.3.2 + * baseAlignment can be greater than 64KB and needs to be aligned to 64KB + * DG1 HiZ H/V Align modification + * Set MOCS0 with WB cache value + * DG1 Placed resource alignment issues Dx12/Vulkan + * Remove '-Werror=implicit-function-declaration' + * SyncInfoLin: Initialize members + * Do not use memset for clearing an object of non-trivial type + * Added the ADL-S device ID's and phyAddr support + +------------------------------------------------------------------- +Mon Aug 31 17:07:40 UTC 2020 - Stefan Dirsch + +- update to 20.2.5 + * No upstream changelog available (needed for jira#SLE/SLE-12712) + +------------------------------------------------------------------- +Sun Aug 16 02:33:37 UTC 2020 - Dirk Mueller + +- update to 20.2.3: + * No upstream changelog available. + +------------------------------------------------------------------- +Fri Apr 10 16:44:03 UTC 2020 - Bjørn Lie + +- Update to version 20.1.1: + * No upstream changelog available. + +------------------------------------------------------------------- +Mon Mar 23 11:08:00 UTC 2020 - Martin Pluskal + +- Update to version 19.4.1: + * No upstream changelog available + +------------------------------------------------------------------- +Thu Nov 7 12:40:14 UTC 2019 - Stefan Dirsch + +- This release fullfills requirements for jsc#SLE-8726 + +------------------------------------------------------------------- +Wed Nov 6 14:02:44 UTC 2019 - Stefan Dirsch + +- Updated to version 19.3.3 + * Intel Graphics Memory Management Library 2019 Q3 Release 3 +- Bump soname to 11 + +------------------------------------------------------------------- +Mon Sep 2 14:13:59 UTC 2019 - Stefan Dirsch + +- Updated to version 19.2.4 + * adds support for Icelake, EHL, Cometlake, Lakefield + * bug fixes + +------------------------------------------------------------------- +Sat Jul 6 10:38:31 UTC 2019 - Bjørn Lie + +- Update to version 19.2.3: + * Memory leak fix. + * Crash fix. + * More device support. +- Bump soname to 9 following upstream changes. + +------------------------------------------------------------------- +Mon Apr 1 09:27:00 CEST 2019 - tiwai@suse.de + +- Updated to version 18.4.1: + * Cleanup, more device support +- Changed the subpackage name to follow libigdgmm.so.5 + +------------------------------------------------------------------- +Wed Nov 7 20:25:56 CET 2018 - tiwai@suse.de + +- Initial version: 18.3.0 diff --git a/gmmlib.spec b/gmmlib.spec new file mode 100644 index 0000000..357d5f9 --- /dev/null +++ b/gmmlib.spec @@ -0,0 +1,88 @@ +# +# spec file for package gmmlib +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%global somajor 12 +%global libname libigdgmm%{somajor} +Name: gmmlib +Version: 22.3.17 +Release: 0 +Summary: Intel Graphics Memory Management Library Package +License: MIT +Group: Development/Libraries/C and C++ +URL: https://github.com/intel/gmmlib +Source0: %{url}/archive/intel-gmmlib-%{version}.tar.gz +Source1: baselibs.conf +BuildRequires: c++_compiler +BuildRequires: cmake +BuildRequires: pkgconfig +ExclusiveArch: %{ix86} x86_64 %{x86_64} + +%description +The Intel Graphics Memory Management Library provides device specific +and buffer management for the Intel Graphics Compute Runtime for +OpenCL and the Intel Media Driver for VAAPI. + +%package -n %{libname} +Summary: Intel Graphics Memory Management Library development package +Group: Development/Libraries/C and C++ + +%description -n %{libname} +The Intel Graphics Memory Management Library provides device specific +and buffer management for the Intel Graphics Compute Runtime for +OpenCL and the Intel Media Driver for VAAPI. + +This package contains shared library. + +%package devel +Summary: Intel Graphics Memory Management Library development package +Group: Development/Libraries/C and C++ +Requires: %{libname} = %{version} +Provides: libigdgmm-devel = %{version} +Obsoletes: libigdgmm-devel < %{version} + +%description devel +The Intel Graphics Memory Management Library provides device specific +and buffer management for the Intel Graphics Compute Runtime for +OpenCL and the Intel Media Driver for VAAPI. + +This package provides development files. + +%prep +%autosetup -n %{name}-intel-%{name}-%{version} + +%build +chmod a-x LICENSE.md +%cmake -DCMAKE_BUILD_TYPE=Release +%cmake_build + +%install +%cmake_install + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -n %{libname} +%license LICENSE.md +%{_libdir}/libigdgmm.so.%{somajor}* + +%files devel +%{_includedir}/igdgmm +%{_libdir}/libigdgmm.so +%{_libdir}/pkgconfig/igdgmm.pc + +%changelog diff --git a/intel-gmmlib-22.3.17.tar.gz b/intel-gmmlib-22.3.17.tar.gz new file mode 100644 index 0000000..e4befe1 --- /dev/null +++ b/intel-gmmlib-22.3.17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5fa23407d4780c4ee8acd68e9ec9186e1721238150dc36ca9ab469a335891d2a +size 845954