From 3dcb35ca7e447bc984f09ef522d66f270d942af2 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Mon, 1 May 2023 15:25:48 +0000 Subject: 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 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 Reviewed-by: Jan-Simon Moeller --- meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend | 1 + meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/pvr-fix.inc | 1 + 2 files changed, 2 insertions(+) create mode 100644 meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/mesa_%.bbappend create mode 100644 meta-agl-bsp/meta-ti-bsp/recipes-graphics/mesa/pvr-fix.inc (limited to 'meta-agl-bsp/meta-ti-bsp') 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" -- cgit 1.2.3-korg