mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-24 09:32:42 +00:00
Enable all aarch64 drivers for x86 for x86 emulation on aarch64
In order to enable hardware acceleration when running x86 applications on AArch64, the drivers that are typically only enabled on AArch64 need to be built for x86 architectures too. This allows us to set up x86 containers on AArch64 that can correctly interface with hardware properly.
This commit is contained in:
parent
8265d5b42b
commit
9c488ba4ae
1 changed files with 6 additions and 6 deletions
12
mesa.spec
12
mesa.spec
|
@ -19,10 +19,10 @@
|
|||
%endif
|
||||
%global with_iris 1
|
||||
%global with_xa 1
|
||||
%global platform_vulkan ,intel,intel_hasvk
|
||||
%global intel_platform_vulkan ,intel,intel_hasvk
|
||||
%endif
|
||||
|
||||
%ifarch aarch64
|
||||
%ifarch aarch64 x86_64 %{ix86}
|
||||
%if !0%{?rhel}
|
||||
%global with_etnaviv 1
|
||||
%global with_lima 1
|
||||
|
@ -34,7 +34,7 @@
|
|||
%global with_panfrost 1
|
||||
%global with_tegra 1
|
||||
%global with_xa 1
|
||||
%global platform_vulkan ,broadcom,freedreno,panfrost
|
||||
%global extra_platform_vulkan ,broadcom,freedreno,panfrost
|
||||
%endif
|
||||
|
||||
%ifnarch s390x
|
||||
|
@ -57,7 +57,7 @@
|
|||
%bcond_with valgrind
|
||||
%endif
|
||||
|
||||
%global vulkan_drivers swrast%{?base_vulkan}%{?platform_vulkan}
|
||||
%global vulkan_drivers swrast%{?base_vulkan}%{?intel_platform_vulkan}%{?extra_platform_vulkan}
|
||||
|
||||
Name: mesa
|
||||
Summary: Mesa graphics libraries
|
||||
|
@ -545,7 +545,7 @@ popd
|
|||
%{_libdir}/dri/i915_dri.so
|
||||
%{_libdir}/dri/iris_dri.so
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
%ifarch aarch64 x86_64 %{ix86}
|
||||
%{_libdir}/dri/ingenic-drm_dri.so
|
||||
%{_libdir}/dri/imx-drm_dri.so
|
||||
%{_libdir}/dri/imx-lcdif_dri.so
|
||||
|
@ -653,7 +653,7 @@ popd
|
|||
%{_libdir}/libvulkan_intel_hasvk.so
|
||||
%{_datadir}/vulkan/icd.d/intel_hasvk_icd.*.json
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
%ifarch aarch64 x86_64 %{ix86}
|
||||
%{_libdir}/libvulkan_broadcom.so
|
||||
%{_datadir}/vulkan/icd.d/broadcom_icd.*.json
|
||||
%{_libdir}/libvulkan_freedreno.so
|
||||
|
|
Loading…
Reference in a new issue