diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2023-05-01 15:25:48 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2023-05-08 09:56:15 +0000 |
commit | 90679ddd4198b1a7a97d684d874742614122c7cd (patch) | |
tree | 65c42981dcdd2f10b8e2e2c523349e441ef03c34 | |
parent | 118bda5b1d3f68c93e442b4901d8d8b8cacf545a (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>
(cherry picked from commit 3dcb35ca7e447bc984f09ef522d66f270d942af2)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28772
-rw-r--r-- | meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend | 1 | ||||
-rw-r--r-- | meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/pvr-fix.inc | 1 |
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" |