aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2014-07-23 00:48:29 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2014-07-23 00:48:29 +0200
commitafd2f1148b019fd1119c46313af0de1ccb016d7a (patch)
tree1f44574f2da84acd2284079d344eecc54752d0cc /recipes-graphics
downloadmeta-qcom-afd2f1148b019fd1119c46313af0de1ccb016d7a.tar.gz
meta-qcom-afd2f1148b019fd1119c46313af0de1ccb016d7a.tar.bz2
meta-qcom-afd2f1148b019fd1119c46313af0de1ccb016d7a.zip
Create initial BSP layer for IFC6410
- create meta-qualcomm OE layer - add README and license file - create machine configuration for ifc6410, using the 3.4+freedreno kernel - configure freedreno in mesa, and create xf86-video-freedreno recipe This has been tested with distro-less OE-core on IFC6410 meta = "master:6bc3696d8451a23d743daf03ee98c4ba54ce4551" Using the following extra configuration in local.conf: DISTRO_FEATURES_append = " opengl" CORE_IMAGE_EXTRA_INSTALL += "mesa-demos" VIRTUAL-RUNTIME_graphical_init_manager = "" glxgears was tested using the GPU firmware from the Inforce BSP v1.5 release. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/mesa/mesa_10.%.bbappend4
-rw-r--r--recipes-graphics/xorg-driver/files/freedreno.conf10
-rw-r--r--recipes-graphics/xorg-driver/xf86-video-freedreno_1.1.0.bb19
3 files changed, 33 insertions, 0 deletions
diff --git a/recipes-graphics/mesa/mesa_10.%.bbappend b/recipes-graphics/mesa/mesa_10.%.bbappend
new file mode 100644
index 0000000..e34b798
--- /dev/null
+++ b/recipes-graphics/mesa/mesa_10.%.bbappend
@@ -0,0 +1,4 @@
+# Enable freedreno driver
+GALLIUMDRIVERS_append = ",freedreno"
+
+PACKAGECONFIG_append = " gallium gallium-egl"
diff --git a/recipes-graphics/xorg-driver/files/freedreno.conf b/recipes-graphics/xorg-driver/files/freedreno.conf
new file mode 100644
index 0000000..a7a5630
--- /dev/null
+++ b/recipes-graphics/xorg-driver/files/freedreno.conf
@@ -0,0 +1,10 @@
+Section "Device"
+ Identifier "Video Device"
+ Driver "freedreno"
+EndSection
+
+Section "Screen"
+ Identifier "Screen"
+ Device "Video Device"
+ DefaultDepth 24
+EndSection
diff --git a/recipes-graphics/xorg-driver/xf86-video-freedreno_1.1.0.bb b/recipes-graphics/xorg-driver/xf86-video-freedreno_1.1.0.bb
new file mode 100644
index 0000000..00399bb
--- /dev/null
+++ b/recipes-graphics/xorg-driver/xf86-video-freedreno_1.1.0.bb
@@ -0,0 +1,19 @@
+require recipes-graphics/xorg-driver/xorg-driver-video.inc
+
+SUMMARY = "X.Org driver for Adreno mobile GPUs"
+
+#FIXME:
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+DEPENDS += "virtual/libx11 drm libpciaccess pixman"
+
+SRC_URI[md5sum] = "085642246f217ecd9d03c8699526a653"
+SRC_URI[sha256sum] = "7ac0a972d4a5610a1ca32ae0aee2733db907fd017c1c8b9c4c0482540bb985cf"
+
+# add custom xorg.conf file
+SRC_URI += "file://freedreno.conf"
+FILES_${PN} += "${datadir}/X11/xorg.conf.d"
+do_install_append () {
+ install -d ${D}/${datadir}/X11/xorg.conf.d
+ install -m 0644 ${WORKDIR}/freedreno.conf ${D}/${datadir}/X11/xorg.conf.d
+}