Skip to contentSkip to conversation

conf: machine: Fallback to software rendering

PATCH Superseded Ryan Eatmon 1 participant 2 messages May 23, 2024

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 conf: machine: Fallback to software rendering

While we are working to finish our kernel migration 6.6, we are falling aback to software rendering for platforms that do not currently have a solution for GPU drivers (namely the boards that use SGX).

---
 meta-ti-bsp/conf/machine/include/am65xx.inc   | 2 +-
 meta-ti-bsp/conf/machine/include/omap-a15.inc | 2 +-
 meta-ti-bsp/conf/machine/include/ti33x.inc    | 2 +-
 meta-ti-bsp/conf/machine/include/ti43x.inc    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
meta-ti-bsp/conf/machine/include/am65xx.inc +1 -1
index 80a7744a..48b89638 100644
@@ -4,7 +4,7 @@ SOC_FAMILY:append = ":am65xx"
 MACHINE_FEATURES += "screen touchscreen gpu"
 
 require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 
 KERNEL_DEVICETREE_PREFIX = "ti/k3-am654"
 
meta-ti-bsp/conf/machine/include/omap-a15.inc +1 -1
index a875713f..9ca41403 100644
@@ -13,7 +13,7 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
 
 # Graphics providers and variables
 require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm"
 
 KERNEL_IMAGETYPE = "zImage"
meta-ti-bsp/conf/machine/include/ti33x.inc +1 -1
index b0ed1c69..6fd65b2d 100644
@@ -14,7 +14,7 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
 
 # Graphics providers and variables
 require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 PVR_DISPLAY_CONTROLLER_ALIAS ?= "tilcdc"
 
 KERNEL_IMAGETYPE = "zImage"
meta-ti-bsp/conf/machine/include/ti43x.inc +1 -1
index 17ca5240..0a3ef4c3 100644
@@ -14,7 +14,7 @@ PREFERRED_PROVIDER_u-boot ?= "u-boot-ti-staging"
 
 # Graphics providers and variables
 require conf/machine/include/mesa-pvr.inc
-PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-sgx-ddk-km"
+PREFERRED_PROVIDER_virtual/gpudriver ?= ""
 PVR_DISPLAY_CONTROLLER_ALIAS ?= "omapdrm"
 
 KERNEL_IMAGETYPE = "zImage"
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 recipes: Remove DEFAULT_PREFERENCE

Now that are past the inital stages of our LTS migration, we can remove the DEFAULT_PREFERENCE settings that prevented these recipes from being the default.

---
 .../powervr-drivers/ti-img-rogue-driver_24.1.6554834.bb         | 2 --
 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb     | 2 --
 meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb            | 2 --
 .../powervr-umlibs/ti-img-rogue-umlibs_24.1.6554834.bb          | 2 --
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb     | 2 --
 .../recipes-kernel/linux/linux-ti-staging-systest_6.6.bb        | 2 --
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb        | 2 --
 7 files changed, 14 deletions(-)
meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_24.1.6554834.bb +0 -2
index a1b76d27..fdb8b51d 100644
@@ -3,8 +3,6 @@ HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver"
 LICENSE = "MIT | GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2"
 
-DEFAULT_PREFERENCE = "-1"
-
 inherit module
 
 PROVIDES = "virtual/gpudriver"
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2024.04.bb +0 -2
index d268c8a5..fa8a790c 100644
@@ -1,7 +1,5 @@
 require u-boot-ti.inc
 
-DEFAULT_PREFERENCE = "-1"
-
 include ${@ 'recipes-bsp/u-boot/ti-extras.inc' if d.getVar('TI_EXTRAS') else ''}
 
 PR = "r0"
meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_23.2.1.bb +0 -2
index 1e66acd2..a137f452 100644
@@ -2,8 +2,6 @@
 # upstream yet. This allows us to build the shims we need without completely
 # clobbering mesa.
 
-DEFAULT_PREFERENCE = "-1"
-
 require recipes-graphics/mesa/mesa.inc
 
 SUMMARY += " (with PowerVR support for TI platforms)"
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_24.1.6554834.bb +0 -2
index d43d1635..6d8e65ff 100644
@@ -3,8 +3,6 @@ HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-umlibs"
 LICENSE = "TI-TFL"
 LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
 
-DEFAULT_PREFERENCE = "-1"
-
 inherit bin_package
 
 INHIBIT_DEFAULT_DEPS = ""
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.6.bb +0 -2
index bccd856c..3870f9be 100644
@@ -1,7 +1,5 @@
 require linux-ti-staging_6.6.bb
 
-DEFAULT_PREFERENCE = "-1"
-
 KERNEL_LOCALVERSION:append = "-rt"
 
 # Look in the generic major.minor directory for files
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-systest_6.6.bb +0 -2
index 21090904..a17b744b 100644
@@ -1,7 +1,5 @@
 require linux-ti-staging_6.6.bb
 
-DEFAULT_PREFERENCE = "-1"
-
 # Look in the generic major.minor directory for files
 # This will have priority over generic non-rt path
 FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-6.6:"
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.6.bb +0 -2
index 14fabb81..3adf9b7f 100644
@@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 inherit ti-secdev
 inherit kernel
 
-DEFAULT_PREFERENCE = "-1"
-
 require recipes-kernel/linux/setup-defconfig.inc
 require recipes-kernel/linux/ti-kernel.inc
 include ${@ 'recipes-kernel/linux/ti-kernel-devicetree-prefix.inc' if d.getVar('KERNEL_DEVICETREE_PREFIX') else ''}
Signature · 1 line
2.17.1