agl_bbe.inc: remove old graphics preferences 44/28744/3
authorDenys Dmytriyenko <denys@konsulko.com>
Mon, 1 May 2023 15:40:09 +0000 (15:40 +0000)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 3 May 2023 15:33:27 +0000 (15:33 +0000)
Latest TI graphics completely redone its dependencies and preferences
to be aligned with upstream and use Mesa packages as proper providers
for GBM, EGL, GLES, etc. components. There's no more need for local
workarounds to adjust graphics settings.

Note: SGX is currently set in meta-ti-bsp to fall back to software
rendering and will be fixed later. Rogue in newer K3 devices is fully
functioning though.

Bug-AGL: SPEC-4723

Change-Id: I072a5e25bdbb444db8e7d4b87a1f181c349240ea
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/28744
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-agl-bsp/conf/include/agl_bbe.inc

index d8b24a1..56c88a4 100644 (file)
@@ -5,26 +5,6 @@
 
 CORE_IMAGE_EXTRA_INSTALL += "packagegroup-machine-base"
 
-#-------------------------------------------------
-## Graphics section ##
-#-------------------------------------------------
-PACKAGES_GFX = "ti-sgx-ddk-km"
-IMAGE_INSTALL:append = " ${PACKAGES_GFX}"
-
-
-# Enable Gfx Pkgs
-MACHINE_FEATURES:append = " sgx"
-BB_MULTI_PROVIDER_ALLOWED += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
-
-DEPENDS:remove = "virtual/libgl"
-
-# Preferred providers
-PREFERRED_PROVIDER_virtual/libgles1 = ""
-PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/egl      = "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/libgbm   = "ti-sgx-ddk-um"
-PREFERRED_PROVIDER_virtual/mesa     = "mesa-gl"
-
 #-------------------------------------------------
 ## Multimedia section ##
 #-------------------------------------------------