Accepting request 1003300 from X11:XOrg

- disabled intel driver on s390x 

- update to 2.4.113:
  * amdgpu: update marketing names
  * sync i915_pciids with kernel
  * atomic: fix atomic_add_unless() fallback's return value 
  * intel: Avoid aliasing violation
  * intel: Hook up new platforms IDs
  * meson: auto-enable etnaviv on arm, arc, mips and loongarch architectures 
  * modetest: use drmGetFormatName() 
  * lots of testsuite and CI improvements
- enable intel support everywhere as there are now discrete intel GPUs
- enable vc4 support on armv7/aarch64
- simplify valgrind support ifdefery

OBS-URL: https://build.opensuse.org/request/show/1003300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdrm?expand=0&rev=161
This commit is contained in:
Dominique Leuenberger 2022-09-14 11:44:39 +00:00 committed by Git OBS Bridge
commit 5bb9220a0a
4 changed files with 53 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00b07710bd09b35cd8d80eaf4f4497fe27f4becf467a9830f1f5e8324f8420ff
size 451872

3
libdrm-2.4.113.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7fd7eb2967f63beb4606f22d50e277d993480d05ef75dd88a9bd8e677323e5e1
size 457064

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Sep 13 10:34:04 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- disabled intel driver on s390x
-------------------------------------------------------------------
Mon Sep 12 19:11:13 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2.4.113:
* amdgpu: update marketing names
* sync i915_pciids with kernel
* atomic: fix atomic_add_unless() fallback's return value
* intel: Avoid aliasing violation
* intel: Hook up new platforms IDs
* meson: auto-enable etnaviv on arm, arc, mips and loongarch architectures
* modetest: use drmGetFormatName()
* lots of testsuite and CI improvements
- enable intel support everywhere as there are now discrete intel GPUs
- enable vc4 support on armv7/aarch64
- simplify valgrind support ifdefery
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jul 22 21:42:48 UTC 2022 - Dirk Müller <dmueller@suse.com> Fri Jul 22 21:42:48 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -16,8 +16,14 @@
# #
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm}
%bcond_without valgrind_support
%else
%bcond_with valgrind_support
%endif
Name: libdrm Name: libdrm
Version: 2.4.112 Version: 2.4.113
Release: 0 Release: 0
Summary: Userspace Interface for Kernel DRM Services Summary: Userspace Interface for Kernel DRM Services
License: MIT License: MIT
@ -36,16 +42,9 @@ BuildRequires: python3-docutils
BuildRequires: pkgconfig(pciaccess) >= 0.10 BuildRequires: pkgconfig(pciaccess) >= 0.10
Provides: libdrm23 = %{version} Provides: libdrm23 = %{version}
Obsoletes: libdrm23 < %{version} Obsoletes: libdrm23 < %{version}
%if 0%{?with_valgrind_support:1} %if %{with valgrind_support}
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm}
BuildRequires: pkgconfig(valgrind) BuildRequires: pkgconfig(valgrind)
%endif %endif
%endif
# bug437293
%ifarch ppc64
Obsoletes: libdrm-64bit < %{version}
Provides: libdrm-64bit = %{version}
%endif
%description %description
The package contains the userspace interface to the kernel DRM The package contains the userspace interface to the kernel DRM
@ -83,7 +82,7 @@ Requires: libdrm_tegra0 = %{version}
%ifarch %{arm} %ifarch %{arm}
Requires: libdrm_omap1 = %{version} Requires: libdrm_omap1 = %{version}
%endif %endif
%ifarch %{ix86} x86_64 %ifnarch s390x
Requires: libdrm_intel1 = %{version} Requires: libdrm_intel1 = %{version}
%endif %endif
# bug437293 # bug437293
@ -223,21 +222,28 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
--default-library=shared \ --default-library=shared \
-Dinstall-test-programs=true \ -Dinstall-test-programs=true \
-Dudev=true \ -Dudev=true \
-Dcairo-tests=disabled \
%ifarch %{arm} %ifarch %{arm}
-Domap=true \ -Domap=enabled \
%endif %endif
%ifarch %{arm} aarch64 %ifarch %{arm} aarch64
-Detnaviv=true \ -Detnaviv=enabled \
-Dexynos=true \ -Dexynos=enabled \
-Dfreedreno=true \ -Dfreedreno=enabled \
-Dtegra=true \ -Dvc4=enabled \
%endif -Dtegra=enabled \
%ifnarch %{ix86} x86_64 ppc ppc64 ppc64le s390x %{arm}
-Dvalgrind=false \
%else %else
%if 0%{!?with_valgrind_support:1} -Detnaviv=disabled \
-Dvalgrind=false \ -Dfreedreno=disabled \
-Dvc4=disabled \
%endif %endif
%ifarch s390x
-Dintel=disabled \
%endif
%if %{with valgrind_support}
-Dvalgrind=enabled \
%else
-Dvalgrind=disabled \
%endif %endif
%{nil} %{nil}
%meson_build %meson_build
@ -254,8 +260,10 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%post -n libdrm2 -p /sbin/ldconfig %post -n libdrm2 -p /sbin/ldconfig
%postun -n libdrm2 -p /sbin/ldconfig %postun -n libdrm2 -p /sbin/ldconfig
%ifnarch s390x
%post -n libdrm_intel1 -p /sbin/ldconfig %post -n libdrm_intel1 -p /sbin/ldconfig
%postun -n libdrm_intel1 -p /sbin/ldconfig %postun -n libdrm_intel1 -p /sbin/ldconfig
%endif
%post -n libdrm_nouveau2 -p /sbin/ldconfig %post -n libdrm_nouveau2 -p /sbin/ldconfig
%postun -n libdrm_nouveau2 -p /sbin/ldconfig %postun -n libdrm_nouveau2 -p /sbin/ldconfig
%post -n libdrm_radeon1 -p /sbin/ldconfig %post -n libdrm_radeon1 -p /sbin/ldconfig
@ -316,7 +324,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%{_libdir}/libdrm.so.2* %{_libdir}/libdrm.so.2*
%dir %{_datarootdir}/libdrm %dir %{_datarootdir}/libdrm
%ifarch %{ix86} x86_64 %ifnarch s390x
%files -n libdrm_intel1 %files -n libdrm_intel1
%{_libdir}/libdrm_intel.so.1* %{_libdir}/libdrm_intel.so.1*
%endif %endif