aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-ti-bsp
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2023-05-01 15:25:48 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-05-03 15:28:21 +0000
commit3dcb35ca7e447bc984f09ef522d66f270d942af2 (patch)
tree4a6e2f14644d46c4f9f2e2ac134fbee966ce1bee /meta-agl-bsp/meta-ti-bsp
parentf006538eaecfd0f6130797d7bb4dc59c4e2ecb97 (diff)
meta-ti-bsp: don't apply mesa virgl patch for TI pvr graphics
Latest TI graphics now uses Mesa, but it uses a slightly newer and patched version of Mesa for SGX and Rogue GPUs. Since generic mesa virgl patch from meta-agl-bsp/core already exists in that version of Mesa, need to skip applying it here. Bug-AGL: SPEC-4723 Change-Id: I795e2bf41bea8305be25418de7cc3262aefb3b4a Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28742 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-bsp/meta-ti-bsp')
-rw-r--r--meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend1
-rw-r--r--meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/pvr-fix.inc1
2 files changed, 2 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend b/meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend
new file mode 100644
index 000000000..be4ee237b
--- /dev/null
+++ b/meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend
@@ -0,0 +1 @@
+require ${@bb.utils.contains_any('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver ti-sgx-ddk-km', 'pvr-fix.inc', '', d)}
diff --git a/meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/pvr-fix.inc b/meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/pvr-fix.inc
new file mode 100644
index 000000000..82fda6896
--- /dev/null
+++ b/meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/pvr-fix.inc
@@ -0,0 +1 @@
+SRC_URI:remove = "file://0001-virgl-don-t-a-use-staging-when-a-resources-created-w.patch"