From 51d65ab6707da7f884f10510c6af602e49988855 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 24 Jun 2019 18:41:44 +0100 Subject: [PATCH] Enable v3d driver --- mesa.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mesa.spec b/mesa.spec index 4df69d2..141b3bc 100644 --- a/mesa.spec +++ b/mesa.spec @@ -27,6 +27,7 @@ %global with_panfrost 1 %global with_tegra 1 %global with_vc4 1 +%global with_v3d 1 %global with_xa 1 %endif @@ -50,7 +51,7 @@ Name: mesa Summary: Mesa graphics libraries %global ver 19.1.0 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 1%{?dist} +Release: 2%{?dist} License: MIT URL: http://www.mesa3d.org @@ -363,7 +364,7 @@ cp %{SOURCE2} . -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}%{?with_panfrost:,panfrost} \ + -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_v3d:,v3d}%{?with_kmsro:,kmsro}%{?with_lima:,lima}%{?with_panfrost:,panfrost} \ %else -Dgallium-drivers=swrast,virgl \ %endif @@ -554,6 +555,9 @@ popd %if 0%{?with_vc4} %{_libdir}/dri/vc4_dri.so %endif +%if 0%{?with_v3d} +%{_libdir}/dri/v3d_dri.so +%endif %if 0%{?with_freedreno} %{_libdir}/dri/kgsl_dri.so %{_libdir}/dri/msm_dri.so @@ -638,6 +642,9 @@ popd %endif %changelog +* Mon Jun 24 2019 Peter Robinson 19.1.0-2 +- Enable v3d driver + * Wed Jun 12 2019 Igor Gnatenko - 19.1.0-1 - Update to 19.1.0