From f2ad1e14933e46aaf6ef62b20b4ed2d35c12b8e6 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 11 May 2019 20:53:40 +0100 Subject: [PATCH] Enable panfrost --- mesa.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mesa.spec b/mesa.spec index edca323..3fd53c9 100644 --- a/mesa.spec +++ b/mesa.spec @@ -24,6 +24,7 @@ %global with_freedreno 1 %global with_kmsro 1 %global with_lima 1 +%global with_panfrost 1 %global with_tegra 1 %global with_vc4 1 %global with_xa 1 @@ -49,7 +50,7 @@ Name: mesa Summary: Mesa graphics libraries %global ver 19.1.0-rc1 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 2%{?dist} +Release: 3%{?dist} License: MIT URL: http://www.mesa3d.org @@ -361,7 +362,7 @@ cp %{SOURCE1} docs/ -Ddri3=true \ -Ddri-drivers=%{?dri_drivers} \ %if 0%{?with_hardware} - -Dgallium-drivers=swrast,virgl,r300,nouveau%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_kmsro:,kmsro}%{?with_lima:,lima} \ + -Dgallium-drivers=swrast,virgl,r300,nouveau%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_kmsro:,kmsro}%{?with_lima:,lima}%{?with_panfrost:,panfrost} \ %else -Dgallium-drivers=swrast,virgl \ %endif @@ -563,6 +564,9 @@ popd %if 0%{?with_lima} %{_libdir}/dri/lima_dri.so %endif +%if 0%{?with_panfrost} +%{_libdir}/dri/panfrost_dri.so +%endif %{_libdir}/dri/nouveau_dri.so %if 0%{?with_vmware} %{_libdir}/dri/vmwgfx_dri.so @@ -630,6 +634,9 @@ popd %endif %changelog +* Fri May 10 2019 Peter Robinson 19.1.0~rc1-3 +- Enable panfrost + * Thu May 09 2019 Adam Jackson -19.1.0~rc1-2 - Enable lima