From 74f24c3b0e134b47a574de0f54ef3988cfaada92 Mon Sep 17 00:00:00 2001 From: Pete Walter Date: Thu, 14 Jul 2022 04:01:17 +0100 Subject: [PATCH] Build i915 gallium driver (#2100212) --- mesa.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mesa.spec b/mesa.spec index 6a84a9b..80f8dbb 100644 --- a/mesa.spec +++ b/mesa.spec @@ -13,6 +13,7 @@ %ifarch %{ix86} x86_64 %global with_crocus 1 +%global with_i915 1 %global with_iris 1 %global with_vmware 1 %global with_xa 1 @@ -333,7 +334,7 @@ cp %{SOURCE1} docs/ -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 @@ -486,6 +487,7 @@ popd %endif %ifarch %{ix86} x86_64 %{_libdir}/dri/crocus_dri.so +%{_libdir}/dri/i915_dri.so %{_libdir}/dri/iris_dri.so %endif %ifarch %{arm} aarch64