Backport MR#13231 and revert MR#3724 to fix Tegra (kherbst)

This should fix graphics on Tegra (inc. Jetson Nano). Patches
provided by Karol Herbst consist of a backport of
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13231
and a reversion of
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3724
see https://bugzilla.redhat.com/show_bug.cgi?id=1989726#c43 .
This commit is contained in:
Adam Williamson 2021-10-12 11:51:03 -07:00
parent a22fbb1004
commit fbd143696e

View file

@ -74,6 +74,20 @@ Source1: Mesa-MLAA-License-Clarification-Email.txt
Patch0001: gallium-llvm13.patch
Patch0002: crocus-fixes.diff
# Patches from Karol Herbst to make Tegra work again:
# https://bugzilla.redhat.com/show_bug.cgi?id=1989726#c46
# see also:
# https://gitlab.freedesktop.org/mesa/mesa/-/issues/5399
# First two are https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13231
Patch0003: 0001-tegra-Use-private-reference-count-for-sampler-views.patch
Patch0004: 0002-tegra-Use-private-reference-count-for-resources.patch
# Last four revert https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3724
Patch0005: 0003-Revert-nouveau-Use-format-modifiers-in-buffer-alloca.patch
Patch0006: 0004-Revert-nouveau-no-modifier-the-invalid-modifier.patch
Patch0007: 0005-Revert-nouveau-Use-DRM_FORMAT_MOD_NVIDIA_BLOCK_LINEA.patch
Patch0008: 0006-Revert-nouveau-Stash-supported-sector-layout-in-scre.patch
BuildRequires: meson >= 0.45
BuildRequires: gcc
BuildRequires: gcc-c++