mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-11-24 09:32:42 +00:00
Drop modprobe config file to enable GSP on Turing/Ampere NVIDIA GPUs
This is no longer needed since the kernel now turns this on by default.
This reverts commit c4f549cdb1
.
This commit is contained in:
parent
c4f549cdb1
commit
6000f6223a
1 changed files with 0 additions and 12 deletions
12
mesa.spec
12
mesa.spec
|
@ -147,7 +147,6 @@ BuildRequires: (crate(proc-macro2) >= 1.0.56 with crate(proc-macro2) < 2)
|
||||||
BuildRequires: (crate(quote) >= 1.0.25 with crate(quote) < 2)
|
BuildRequires: (crate(quote) >= 1.0.25 with crate(quote) < 2)
|
||||||
BuildRequires: (crate(syn/clone-impls) >= 2.0.15 with crate(syn/clone-impls) < 3)
|
BuildRequires: (crate(syn/clone-impls) >= 2.0.15 with crate(syn/clone-impls) < 3)
|
||||||
BuildRequires: (crate(unicode-ident) >= 1.0.6 with crate(unicode-ident) < 2)
|
BuildRequires: (crate(unicode-ident) >= 1.0.6 with crate(unicode-ident) < 2)
|
||||||
BuildRequires: systemd-rpm-macros
|
|
||||||
%endif
|
%endif
|
||||||
%if %{with valgrind}
|
%if %{with valgrind}
|
||||||
BuildRequires: pkgconfig(valgrind)
|
BuildRequires: pkgconfig(valgrind)
|
||||||
|
@ -461,16 +460,6 @@ for i in libOSMesa*.so libGL.so ; do
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%if 0%{?with_nvk}
|
|
||||||
# Temporarily produce a modprobe file that enables nouveau+gsp for Turing/Ampere
|
|
||||||
# until enabled upstream by default
|
|
||||||
mkdir -p %{buildroot}%{_modprobedir}
|
|
||||||
cat > %{buildroot}%{_modprobedir}/nouveau-gsp.conf << NOUVEAUEOF
|
|
||||||
# Enable GSP firmware for Turing and Ampere
|
|
||||||
options nouveau config=NvGspRm=1
|
|
||||||
NOUVEAUEOF
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files filesystem
|
%files filesystem
|
||||||
%doc docs/Mesa-MLAA-License-Clarification-Email.txt
|
%doc docs/Mesa-MLAA-License-Clarification-Email.txt
|
||||||
%dir %{_libdir}/dri
|
%dir %{_libdir}/dri
|
||||||
|
@ -688,7 +677,6 @@ NOUVEAUEOF
|
||||||
%{_datadir}/drirc.d/00-radv-defaults.conf
|
%{_datadir}/drirc.d/00-radv-defaults.conf
|
||||||
%{_datadir}/vulkan/icd.d/radeon_icd.*.json
|
%{_datadir}/vulkan/icd.d/radeon_icd.*.json
|
||||||
%if 0%{?with_nvk}
|
%if 0%{?with_nvk}
|
||||||
%{_modprobedir}/nouveau-gsp.conf
|
|
||||||
%{_libdir}/libvulkan_nouveau.so
|
%{_libdir}/libvulkan_nouveau.so
|
||||||
%{_datadir}/vulkan/icd.d/nouveau_icd.*.json
|
%{_datadir}/vulkan/icd.d/nouveau_icd.*.json
|
||||||
%endif
|
%endif
|
||||||
|
|
Loading…
Reference in a new issue