diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2023-05-11 18:40:49 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2023-05-11 14:19:01 -0500 |
commit | 24e9324551ecd853b7fa5326fadface547b96652 (patch) | |
tree | 87f05dc899485c047a3de1c9e1b14f7f6d18564a /meta-ti-bsp/conf/machine/beagleplay.conf | |
parent | f3a081a6c22773bba1fdf5e488ff7dec30c3dc84 (diff) | |
download | meta-ti-24e9324551ecd853b7fa5326fadface547b96652.tar.gz |
mesa-pvr: convert bbappend into standalone alternative provider
There are some unobvious issues with adding PVR support to Mesa
via a bbappend:
1. We need to mark mesa package as machine-specific, due to
differences in builds between SGX, Rogue and software-rendering
2. We also need to then mark mesa package as providing safe
ABIs (EGL/GLES/GBM) in order for all generic dependent packages
to not be treated as machine-specific, allowing their re-use
across different machines of the same architecture
But doing the above alters the upstream mesa package and changes
its signatures even when not building for TI platforms, which is
a Yocto Project compliance violation.
In order to resolve this issue, convert Mesa bbappend, that adds
PVR support, into its own standalone alternative provider, called
mesa-pvr and allow selecting it with PREFERRED_PROVIDER settings.
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/conf/machine/beagleplay.conf')
-rw-r--r-- | meta-ti-bsp/conf/machine/beagleplay.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-ti-bsp/conf/machine/beagleplay.conf b/meta-ti-bsp/conf/machine/beagleplay.conf index e8d25cd9..c7b1414a 100644 --- a/meta-ti-bsp/conf/machine/beagleplay.conf +++ b/meta-ti-bsp/conf/machine/beagleplay.conf | |||
@@ -10,6 +10,7 @@ MACHINE_FEATURES += "screen gpu" | |||
10 | SERIAL_CONSOLES = "115200;ttyS2" | 10 | SERIAL_CONSOLES = "115200;ttyS2" |
11 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" | 11 | SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" |
12 | 12 | ||
13 | require conf/machine/include/mesa-pvr.inc | ||
13 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" | 14 | PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver" |
14 | 15 | ||
15 | TFA_BOARD = "lite" | 16 | TFA_BOARD = "lite" |