diff --git a/mesa-22.0.1.tar.xz b/mesa-22.1.7.tar.xz similarity index 63% rename from mesa-22.0.1.tar.xz rename to mesa-22.1.7.tar.xz index 1b73680aa9678efab35276d691c86eb0e77027a9..37e26ebdd9a39e1c0437744dbe9574ee59022dce 100644 Binary files a/mesa-22.0.1.tar.xz and b/mesa-22.1.7.tar.xz differ diff --git a/mesa.spec b/mesa.spec index 06ec140f292e0f5491bb2c209236b9daedf01914..72fb531d87006c30ece4e6da45ee7feeb507a953 100644 --- a/mesa.spec +++ b/mesa.spec @@ -1,15 +1,16 @@ -%define anolis_release 3 +%define anolis_release 1 + %global with_hardware 1 %global with_vulkan_hw 1 %global with_vdpau 1 %global with_vaapi 1 -%global with_xa 1 %global base_vulkan ,amd %ifarch x86_64 %global with_crocus 1 +%global with_i915 1 %global with_iris 1 -%global with_vmware 1 +%global with_xa 1 %global platform_vulkan ,intel %endif @@ -18,21 +19,25 @@ %global with_kmsro 1 %global with_panfrost 1 %global with_tegra 1 +%global with_xa 1 %global platform_vulkan ,broadcom,freedreno,panfrost %endif %global with_radeonsi 1 +%global with_vmware 1 + %bcond_without valgrind + %global vulkan_drivers swrast%{?base_vulkan}%{?platform_vulkan} Name: mesa Summary: Mesa graphics libraries -Version: 22.0.1 +Version: 22.1.7 Release: %{anolis_release}%{?dist} License: MIT URL: http://www.mesa3d.org -Source0: https://mesa.freedesktop.org/archive/%{name}-%{version}.tar.xz +Source0: https://archive.mesa3d.org/mesa-%{version}.tar.xz BuildRequires: meson >= 0.45 BuildRequires: gcc @@ -268,6 +273,9 @@ The drivers with support for the Vulkan API. %autosetup -n %{name}-%{version} -p1 %build +# We've gotten a report that enabling LTO for mesa breaks some games. See +# https://bugzilla.redhat.com/show_bug.cgi?id=1862771 for details. +# Disable LTO for now %define _lto_cflags %{nil} %meson \ @@ -275,7 +283,7 @@ The drivers with support for the Vulkan API. -Ddri3=enabled \ -Dosmesa=true \ %if 0%{?with_hardware} - -Dgallium-drivers=swrast,virgl,nouveau%{?with_r300:,r300}%{?with_crocus:,crocus}%{?with_iris:,iris}%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi}%{?with_r600:,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_v3d:,v3d}%{?with_kmsro:,kmsro}%{?with_lima:,lima}%{?with_panfrost:,panfrost}%{?with_vulkan_hw:,zink} \ + -Dgallium-drivers=swrast,virgl,nouveau%{?with_r300:,r300}%{?with_crocus:,crocus}%{?with_i915:,i915}%{?with_iris:,iris}%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi}%{?with_r600:,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_v3d:,v3d}%{?with_kmsro:,kmsro}%{?with_lima:,lima}%{?with_panfrost:,panfrost}%{?with_vulkan_hw:,zink} \ %else -Dgallium-drivers=swrast,virgl \ %endif @@ -427,6 +435,7 @@ popd %endif %ifarch x86_64 %{_libdir}/dri/crocus_dri.so +%{_libdir}/dri/i915_dri.so %{_libdir}/dri/iris_dri.so %endif %ifarch aarch64 @@ -524,6 +533,7 @@ popd %{_datadir}/vulkan/implicit_layer.d/VkLayer_MESA_device_select.json %if 0%{?with_vulkan_hw} %{_libdir}/libvulkan_radeon.so +%{_datadir}/drirc.d/00-radv-defaults.conf %{_datadir}/vulkan/icd.d/radeon_icd.*.json %ifarch x86_64 %{_libdir}/libvulkan_intel.so @@ -540,6 +550,9 @@ popd %endif %changelog +* Mon Sep 19 2022 mgb01105731 22.1.7-1 +- Update to 22.1.7 + * Sat May 7 2022 Chunmei Xu - 22.0.1-3 - Bump version to rebuild with llvm-13