From 6c22936df0c551961df61cc428e6590d2f8bbb6d Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Mon, 9 Jan 2017 17:35:46 +0100 Subject: apalis-tk1-mainline: Move GPU acceleration support to mesa Instead of patching every app, let's patch mesa to pretend that we have a normal GPU. based on: github.com/Gnurou/mesa/commits/renderonly Signed-off-by: Dominik Sliwa Acked-by: Marcel Ziswiler --- recipes-graphics/mesa/mesa_%.bbappend | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'recipes-graphics/mesa/mesa_%.bbappend') diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index 52b9e33..1865a1d 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend @@ -23,7 +23,29 @@ DEPENDS_remove = "${DEPENDS_REMOVE}" ##### ## Tegra TK1 mainline kernel -PACKAGECONFIG_append_tegra124m = "dri3 egl gles gallium " +PACKAGECONFIG_append_tegra124m = "dri3 egl gles gallium gbm " + +PE_tegra124m = "99" + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +EXTRA_OECONF_append_tegra124m = " --enable-texture-float --without-dri-drivers --enable-glx --enable-osmesa --enable-debug" + +SRC_URI_append_tegra124m = "\ + file://0001-gallium-add-renderonly-library.patch \ + file://0004-gallium-add-tegra-support.patch \ + file://0005-tegra-open-card1-instead-of-renderD128.patch \ + file://0006-HACK-make-DRI-work-under-X.patch \ + file://0008-remove-dependency-on-libdrm_tegra.patch \ + " +PACKAGE_ARCH_tegra124m = "${MACHINE_ARCH}" + +DRIDRIVERS_tegra124m = " " + +GALLIUMDRIVERS_tegra124m = "tegra" + +COMPATIBLE_MACHINE_tegra124m = "(apalis-tk1-mainline)" + # until meta-jetson-tk1 adds it through its bbappend: DEPENDS_append_tegra124= " linux-driver-package " -- cgit v1.2.3