aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-03-01 18:14:44 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-03-01 18:14:44 +0100
commit5cedef7037a574eac262d69ba6c9f3c617e458b0 (patch)
tree022710a4310de3c58a0f07b6bdcf8a277b242acf /conf
parent94d635d5f8a66fe10f89067568c4fc1bd8759891 (diff)
downloadmeta-qcom-5cedef7037a574eac262d69ba6c9f3c617e458b0.tar.gz
meta-qcom-5cedef7037a574eac262d69ba6c9f3c617e458b0.tar.bz2
meta-qcom-5cedef7037a574eac262d69ba6c9f3c617e458b0.zip
apq8096: enable freedreno graphics
Add SoC customization for mesa, gstreamer and xorg. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/dragonboard-820c.conf1
-rw-r--r--conf/machine/include/qcom-apq8096.inc14
2 files changed, 15 insertions, 0 deletions
diff --git a/conf/machine/dragonboard-820c.conf b/conf/machine/dragonboard-820c.conf
index d733525..7e3552b 100644
--- a/conf/machine/dragonboard-820c.conf
+++ b/conf/machine/dragonboard-820c.conf
@@ -13,6 +13,7 @@ SERIAL_CONSOLE = "115200 ttyMSM0"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
kernel-modules \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-msm', '', d)} \
"
QCOM_BOOTIMG_ROOTFS ?= "sde18"
diff --git a/conf/machine/include/qcom-apq8096.inc b/conf/machine/include/qcom-apq8096.inc
index 8cb5cd4..1023f95 100644
--- a/conf/machine/include/qcom-apq8096.inc
+++ b/conf/machine/include/qcom-apq8096.inc
@@ -2,6 +2,20 @@ SOC_FAMILY = "apq8096"
require conf/machine/include/soc-family.inc
require conf/machine/include/arm/arch-armv8.inc
+XSERVER_OPENGL ?= " \
+ xf86-video-modesetting \
+ xserver-xorg-extension-glx \
+"
+
+XSERVER ?= " \
+ xserver-xorg \
+ xserver-xorg-module-libint10 \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${XSERVER_OPENGL}', 'xf86-video-fbdev', d)} \
+ xf86-input-evdev \
+ xf86-input-mouse \
+ xf86-input-keyboard \
+"
+
PREFERRED_PROVIDER_virtual/egl ?= "mesa"
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"