aboutsummaryrefslogtreecommitdiffstats
path: root/templates/machine
diff options
context:
space:
mode:
authorKarthik Ramanan <a0393906@ti.com>2016-11-10 16:51:08 +0530
committerKarthik Ramanan <a0393906@ti.com>2016-11-10 16:52:14 +0530
commit71b8450f9b954054165711781023b384433c065e (patch)
tree2ff83a439550e5e7130268b0a39bf89d33a670ad /templates/machine
parent405efca99c1b6cd177391a068fb4f916820ee73e (diff)
dra7xx-evm: add support for graphics acceleration
TI Jacinto 6 has a 3D GPU that can used to accelerate the graphics processing requests. This patch replaces the default graphics drivers and user space libraries only for the dra7xx-evm MACHINE Change-Id: I1a53594f0fa4dc8fabd16f9ce2c765dd32b9e142 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Diffstat (limited to 'templates/machine')
-rw-r--r--templates/machine/dra7xx-evm/50_local.conf.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/machine/dra7xx-evm/50_local.conf.inc b/templates/machine/dra7xx-evm/50_local.conf.inc
index adf577e8b..05a15c971 100644
--- a/templates/machine/dra7xx-evm/50_local.conf.inc
+++ b/templates/machine/dra7xx-evm/50_local.conf.inc
@@ -1,5 +1,29 @@
MACHINE = "dra7xx-evm"
+PACKAGES_GFX_${MACHINE} = "omapdrm-pvr"
+
+# Enable Gfx Pkgs
+MACHINE_FEATURES_append = " sgx"
+MULTI_PROVIDER_WHITELIST += "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/mesa = "mesa-gl"
+PREFERRED_PROVIDER_libgbm = "libgbm"
+
+#Preferred versions
+PREFERRED_VERSION_libgbm = "10.0.0"
+
+
+# Distribution-specific runtime components
+IMAGE_INSTALL_append = " \
+ ${PACKAGES_GFX} \
+"
+
## ATTENTION, this is needed right now to build meta-ti with AGL: ##
## due to meta-ti being based on YP 1.8 instead of YP 2.0
BBMASK = "meta-ti/.*eudev"