diff options
author | Andrew Davis <afd@ti.com> | 2025-09-18 08:28:39 -0500 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2025-09-18 23:56:22 -0500 |
commit | 12ed4dfce41e098643e10d29fe0780f99ba26dce (patch) | |
tree | 6ca715bd612987a9d8cd8188e96ab4d1bffd2f9a | |
parent | 88f31a7fb6cb17a65bebf769da8a1d8fde357d3a (diff) | |
download | meta-ti-12ed4dfce41e098643e10d29fe0780f99ba26dce.tar.gz |
ti-bsp: Do not remove gpu MACHINE_FEATURE conditionally on BSP version
Setting or removing the gpu MACHINE_FEATURE does not actually change
if the GPU driver is built or not. That is done based on the setting
of the BSP_{SGX,ROGUE}_{DRIVER,UMLIBS}_{PROVIDER,VERSION} vars. These
are default empty for BSP versions without supported GPU drivers, which
will correctly cause a fallback to SW rendering when the GPU driver is
not available.
As the "gpu" MACHINE_FEATURE now has no uses, remove it from all the
machine config include files.
Signed-off-by: Andrew Davis <afd@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
-rw-r--r-- | meta-ti-bsp/conf/machine/beagleplay-ti.conf | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am62pxx.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am62xx.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am65xx.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am68.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/am69.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j721e.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j721s2.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j722s.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j742s2.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/j784s4.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/omap-a15.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/ti-bsp.inc | 8 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/ti33x.inc | 2 | ||||
-rw-r--r-- | meta-ti-bsp/conf/machine/include/ti43x.inc | 2 |
15 files changed, 14 insertions, 22 deletions
diff --git a/meta-ti-bsp/conf/machine/beagleplay-ti.conf b/meta-ti-bsp/conf/machine/beagleplay-ti.conf index 792c91b2..ca88fdfb 100644 --- a/meta-ti-bsp/conf/machine/beagleplay-ti.conf +++ b/meta-ti-bsp/conf/machine/beagleplay-ti.conf | |||
@@ -7,7 +7,7 @@ require conf/machine/include/mc_k3r5.inc | |||
7 | 7 | ||
8 | SOC_FAMILY:append = ":am62xx" | 8 | SOC_FAMILY:append = ":am62xx" |
9 | 9 | ||
10 | MACHINE_FEATURES += "screen gpu" | 10 | MACHINE_FEATURES += "screen" |
11 | 11 | ||
12 | SERIAL_CONSOLES = "115200;ttyS2" | 12 | SERIAL_CONSOLES = "115200;ttyS2" |
13 | 13 | ||
diff --git a/meta-ti-bsp/conf/machine/include/am62pxx.inc b/meta-ti-bsp/conf/machine/include/am62pxx.inc index d59f607d..560334c1 100644 --- a/meta-ti-bsp/conf/machine/include/am62pxx.inc +++ b/meta-ti-bsp/conf/machine/include/am62pxx.inc | |||
@@ -3,7 +3,7 @@ require conf/machine/include/mc_k3r5.inc | |||
3 | 3 | ||
4 | SOC_FAMILY:append = ":am62pxx" | 4 | SOC_FAMILY:append = ":am62pxx" |
5 | 5 | ||
6 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen" |
7 | 7 | ||
8 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
diff --git a/meta-ti-bsp/conf/machine/include/am62xx.inc b/meta-ti-bsp/conf/machine/include/am62xx.inc index 74054a78..9e24898c 100644 --- a/meta-ti-bsp/conf/machine/include/am62xx.inc +++ b/meta-ti-bsp/conf/machine/include/am62xx.inc | |||
@@ -3,7 +3,7 @@ require conf/machine/include/mc_k3r5.inc | |||
3 | 3 | ||
4 | SOC_FAMILY:append = ":am62xx" | 4 | SOC_FAMILY:append = ":am62xx" |
5 | 5 | ||
6 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen" |
7 | 7 | ||
8 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
diff --git a/meta-ti-bsp/conf/machine/include/am65xx.inc b/meta-ti-bsp/conf/machine/include/am65xx.inc index d70bb22d..bfaa529b 100644 --- a/meta-ti-bsp/conf/machine/include/am65xx.inc +++ b/meta-ti-bsp/conf/machine/include/am65xx.inc | |||
@@ -3,7 +3,7 @@ require conf/machine/include/mc_k3r5.inc | |||
3 | 3 | ||
4 | SOC_FAMILY:append = ":am65xx" | 4 | SOC_FAMILY:append = ":am65xx" |
5 | 5 | ||
6 | MACHINE_FEATURES += "screen touchscreen gpu" | 6 | MACHINE_FEATURES += "screen touchscreen" |
7 | 7 | ||
8 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_SGX_DRIVER_PROVIDER}" |
diff --git a/meta-ti-bsp/conf/machine/include/am68.inc b/meta-ti-bsp/conf/machine/include/am68.inc index b6d18fe0..60ea679a 100644 --- a/meta-ti-bsp/conf/machine/include/am68.inc +++ b/meta-ti-bsp/conf/machine/include/am68.inc | |||
@@ -3,7 +3,7 @@ require conf/machine/include/mc_k3r5.inc | |||
3 | 3 | ||
4 | SOC_FAMILY:append = ":j721s2" | 4 | SOC_FAMILY:append = ":j721s2" |
5 | 5 | ||
6 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen" |
7 | 7 | ||
8 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
diff --git a/meta-ti-bsp/conf/machine/include/am69.inc b/meta-ti-bsp/conf/machine/include/am69.inc index 759984ea..7956e355 100644 --- a/meta-ti-bsp/conf/machine/include/am69.inc +++ b/meta-ti-bsp/conf/machine/include/am69.inc | |||
@@ -3,7 +3,7 @@ require conf/machine/include/mc_k3r5.inc | |||
3 | 3 | ||
4 | SOC_FAMILY:append = ":j784s4" | 4 | SOC_FAMILY:append = ":j784s4" |
5 | 5 | ||
6 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen" |
7 | 7 | ||
8 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
diff --git a/meta-ti-bsp/conf/machine/include/j721e.inc b/meta-ti-bsp/conf/machine/include/j721e.inc index f9fdac0c..a74fbfee 100644 --- a/meta-ti-bsp/conf/machine/include/j721e.inc +++ b/meta-ti-bsp/conf/machine/include/j721e.inc | |||
@@ -3,7 +3,7 @@ require conf/machine/include/mc_k3r5.inc | |||
3 | 3 | ||
4 | SOC_FAMILY:append = ":j721e" | 4 | SOC_FAMILY:append = ":j721e" |
5 | 5 | ||
6 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen" |
7 | 7 | ||
8 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
diff --git a/meta-ti-bsp/conf/machine/include/j721s2.inc b/meta-ti-bsp/conf/machine/include/j721s2.inc index b6d18fe0..60ea679a 100644 --- a/meta-ti-bsp/conf/machine/include/j721s2.inc +++ b/meta-ti-bsp/conf/machine/include/j721s2.inc | |||
@@ -3,7 +3,7 @@ require conf/machine/include/mc_k3r5.inc | |||
3 | 3 | ||
4 | SOC_FAMILY:append = ":j721s2" | 4 | SOC_FAMILY:append = ":j721s2" |
5 | 5 | ||
6 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen" |
7 | 7 | ||
8 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
diff --git a/meta-ti-bsp/conf/machine/include/j722s.inc b/meta-ti-bsp/conf/machine/include/j722s.inc index 8a02441b..c2732b70 100644 --- a/meta-ti-bsp/conf/machine/include/j722s.inc +++ b/meta-ti-bsp/conf/machine/include/j722s.inc | |||
@@ -3,7 +3,7 @@ require conf/machine/include/mc_k3r5.inc | |||
3 | 3 | ||
4 | SOC_FAMILY:append = ":j722s" | 4 | SOC_FAMILY:append = ":j722s" |
5 | 5 | ||
6 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen" |
7 | 7 | ||
8 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
diff --git a/meta-ti-bsp/conf/machine/include/j742s2.inc b/meta-ti-bsp/conf/machine/include/j742s2.inc index d2de1d0d..13037c09 100644 --- a/meta-ti-bsp/conf/machine/include/j742s2.inc +++ b/meta-ti-bsp/conf/machine/include/j742s2.inc | |||
@@ -3,7 +3,7 @@ require conf/machine/include/mc_k3r5.inc | |||
3 | 3 | ||
4 | SOC_FAMILY:append = ":j742s2" | 4 | SOC_FAMILY:append = ":j742s2" |
5 | 5 | ||
6 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen" |
7 | 7 | ||
8 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
diff --git a/meta-ti-bsp/conf/machine/include/j784s4.inc b/meta-ti-bsp/conf/machine/include/j784s4.inc index 759984ea..7956e355 100644 --- a/meta-ti-bsp/conf/machine/include/j784s4.inc +++ b/meta-ti-bsp/conf/machine/include/j784s4.inc | |||
@@ -3,7 +3,7 @@ require conf/machine/include/mc_k3r5.inc | |||
3 | 3 | ||
4 | SOC_FAMILY:append = ":j784s4" | 4 | SOC_FAMILY:append = ":j784s4" |
5 | 5 | ||
6 | MACHINE_FEATURES += "screen gpu" | 6 | MACHINE_FEATURES += "screen" |
7 | 7 | ||
8 | require conf/machine/include/mesa-pvr.inc | 8 | require conf/machine/include/mesa-pvr.inc |
9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" | 9 | PREFERRED_PROVIDER_virtual/gpudriver ?= "${BSP_ROGUE_DRIVER_PROVIDER}" |
diff --git a/meta-ti-bsp/conf/machine/include/omap-a15.inc b/meta-ti-bsp/conf/machine/include/omap-a15.inc index 2179476f..aed2c727 100644 --- a/meta-ti-bsp/conf/machine/include/omap-a15.inc +++ b/meta-ti-bsp/conf/machine/include/omap-a15.inc | |||
@@ -42,7 +42,7 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "vpdma-fw goodix-fw" | |||
42 | UBI_VOLNAME = "rootfs" | 42 | UBI_VOLNAME = "rootfs" |
43 | 43 | ||
44 | # List common SoC features, may need to add touchscreen for specific machines | 44 | # List common SoC features, may need to add touchscreen for specific machines |
45 | MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu mmip dsp gc320" | 45 | MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa mmip dsp gc320" |
46 | 46 | ||
47 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" | 47 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" |
48 | WKS_FILE ?= "sdimage-2part.wks" | 48 | WKS_FILE ?= "sdimage-2part.wks" |
diff --git a/meta-ti-bsp/conf/machine/include/ti-bsp.inc b/meta-ti-bsp/conf/machine/include/ti-bsp.inc index c690cb5a..b4fe0676 100644 --- a/meta-ti-bsp/conf/machine/include/ti-bsp.inc +++ b/meta-ti-bsp/conf/machine/include/ti-bsp.inc | |||
@@ -18,10 +18,6 @@ BSP_KERNEL_VERSION:bsp-mainline = "%" | |||
18 | BSP_BOOTLOADER_PROVIDER:bsp-mainline = "u-boot-ti-mainline" | 18 | BSP_BOOTLOADER_PROVIDER:bsp-mainline = "u-boot-ti-mainline" |
19 | BSP_BOOTLOADER_VERSION:bsp-mainline = "%" | 19 | BSP_BOOTLOADER_VERSION:bsp-mainline = "%" |
20 | 20 | ||
21 | # GPU support requires out-of-tree SGX and Rogue drivers not available | ||
22 | # in mainline, usually present in TI staging or derivative like BB.org | ||
23 | MACHINE_FEATURES:remove:bsp-mainline = "gpu" | ||
24 | |||
25 | # GC320 support requires out-of-tree drivers not available in mainline | 21 | # GC320 support requires out-of-tree drivers not available in mainline |
26 | MACHINE_FEATURES:remove:bsp-mainline = "gc320" | 22 | MACHINE_FEATURES:remove:bsp-mainline = "gc320" |
27 | 23 | ||
@@ -34,10 +30,6 @@ BSP_KERNEL_VERSION:bsp-next = "%" | |||
34 | BSP_BOOTLOADER_PROVIDER:bsp-next = "u-boot-ti-next" | 30 | BSP_BOOTLOADER_PROVIDER:bsp-next = "u-boot-ti-next" |
35 | BSP_BOOTLOADER_VERSION:bsp-next = "%" | 31 | BSP_BOOTLOADER_VERSION:bsp-next = "%" |
36 | 32 | ||
37 | # GPU support requires out-of-tree SGX and Rogue drivers not available | ||
38 | # in next, usually present in TI staging or derivative like BB.org | ||
39 | MACHINE_FEATURES:remove:bsp-next = "gpu" | ||
40 | |||
41 | # GC320 support requires out-of-tree drivers not yet available in next | 33 | # GC320 support requires out-of-tree drivers not yet available in next |
42 | MACHINE_FEATURES:remove:bsp-next = "gc320" | 34 | MACHINE_FEATURES:remove:bsp-next = "gc320" |
43 | 35 | ||
diff --git a/meta-ti-bsp/conf/machine/include/ti33x.inc b/meta-ti-bsp/conf/machine/include/ti33x.inc index c47165e4..662fbd03 100644 --- a/meta-ti-bsp/conf/machine/include/ti33x.inc +++ b/meta-ti-bsp/conf/machine/include/ti33x.inc | |||
@@ -88,7 +88,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage" | |||
88 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "amx3-cm3 prueth-fw pruhsr-fw pruprp-fw" | 88 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "amx3-cm3 prueth-fw pruhsr-fw pruprp-fw" |
89 | 89 | ||
90 | # List common SoC features, may need to add touchscreen for specific machines | 90 | # List common SoC features, may need to add touchscreen for specific machines |
91 | MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa gpu" | 91 | MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa" |
92 | 92 | ||
93 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" | 93 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" |
94 | WKS_FILE ?= "sdimage-2part.wks" | 94 | WKS_FILE ?= "sdimage-2part.wks" |
diff --git a/meta-ti-bsp/conf/machine/include/ti43x.inc b/meta-ti-bsp/conf/machine/include/ti43x.inc index a23b6518..6150d106 100644 --- a/meta-ti-bsp/conf/machine/include/ti43x.inc +++ b/meta-ti-bsp/conf/machine/include/ti43x.inc | |||
@@ -60,7 +60,7 @@ MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-zimage" | |||
60 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "amx3-cm3 prueth-fw pruhsr-fw pruprp-fw" | 60 | MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "amx3-cm3 prueth-fw pruhsr-fw pruprp-fw" |
61 | 61 | ||
62 | # List common SoC features, may need to add touchscreen for specific machines | 62 | # List common SoC features, may need to add touchscreen for specific machines |
63 | MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa gpu" | 63 | MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 screen alsa" |
64 | 64 | ||
65 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" | 65 | IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap" |
66 | WKS_FILE ?= "sdimage-2part.wks" | 66 | WKS_FILE ?= "sdimage-2part.wks" |