diff options
6 files changed, 45 insertions, 14 deletions
diff --git a/conf/machine/include/qcom-apq8016.inc b/conf/machine/include/qcom-apq8016.inc index 8fbfa85..25458be 100644 --- a/conf/machine/include/qcom-apq8016.inc +++ b/conf/machine/include/qcom-apq8016.inc @@ -11,6 +11,7 @@ XSERVER_OPENGL ?= " \ 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 \ diff --git a/recipes-graphics/drm/libdrm/freedreno_ksgl.patch b/recipes-graphics/drm/libdrm/freedreno_ksgl.patch new file mode 100644 index 0000000..7fe8bf7 --- /dev/null +++ b/recipes-graphics/drm/libdrm/freedreno_ksgl.patch @@ -0,0 +1,19 @@ +when libdrm is built without kgsl backend enabled (which is our case by default +this function is not defined in libdrm + + +diff --git a/freedreno/freedreno_bo.c b/freedreno/freedreno_bo.c +index a23c65d..82c1f15 100644 +--- a/freedreno/freedreno_bo.c ++++ b/freedreno/freedreno_bo.c +@@ -431,3 +431,10 @@ void fd_bo_cpu_fini(struct fd_bo *bo) + { + bo->funcs->cpu_fini(bo); + } ++ ++#ifndef HAVE_FREEDRENO_KGSL ++struct fd_bo * fd_bo_from_fbdev(struct fd_pipe *pipe, int fbfd, uint32_t size) ++{ ++ return NULL; ++} ++#endif diff --git a/recipes-graphics/drm/libdrm_%.bbappend b/recipes-graphics/drm/libdrm_%.bbappend new file mode 100644 index 0000000..1c8a796 --- /dev/null +++ b/recipes-graphics/drm/libdrm_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://freedreno_ksgl.patch" diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/dragonboard-410c/10-preload-modules.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/dragonboard-410c/10-preload-modules.conf new file mode 100644 index 0000000..9be356a --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/dragonboard-410c/10-preload-modules.conf @@ -0,0 +1,9 @@ +Section "Module" + Load "fb" + Load "shadow" + Load "int10" + Load "vbe" + Load "vgahw" + Load "exa" +EndSection + diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend new file mode 100644 index 0000000..72d991c --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend @@ -0,0 +1 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" diff --git a/recipes-multimedia/alsa/files/0001-ucm-Add-ucm-files-for-DB410c-board.patch b/recipes-multimedia/alsa/files/0001-ucm-Add-ucm-files-for-DB410c-board.patch index 2a61a95..69a6a73 100644 --- a/recipes-multimedia/alsa/files/0001-ucm-Add-ucm-files-for-DB410c-board.patch +++ b/recipes-multimedia/alsa/files/0001-ucm-Add-ucm-files-for-DB410c-board.patch @@ -30,18 +30,17 @@ Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> create mode 100644 src/conf/ucm/DB410c/HiFi create mode 100644 src/conf/ucm/DB410c/Makefile.am -diff --git a/configure.ac b/configure.ac -index f0995e3..3b78e4f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -655,6 +655,7 @@ AC_OUTPUT(Makefile doc/Makefile doc/pictures/Makefile doc/doxygen.cfg \ - src/conf/ucm/tegraalc5632/Makefile \ +diff -urN alsa-lib-1.1.0/configure.ac alsa-lib-1.1.0--fix/configure.ac +--- alsa-lib-1.1.0/configure.ac 2015-11-09 02:39:18.000000000 -0500 ++++ alsa-lib-1.1.0--fix/configure.ac 2016-05-06 17:15:12.878410903 -0400 +@@ -658,6 +658,7 @@ src/conf/ucm/PAZ00/Makefile \ src/conf/ucm/GoogleNyan/Makefile \ + src/conf/ucm/broadwell-rt286/Makefile \ + src/conf/ucm/DB410c/Makefile \ + src/conf/topology/Makefile \ + src/conf/topology/broadwell/Makefile \ modules/Makefile modules/mixer/Makefile modules/mixer/simple/Makefile \ - alsalisp/Makefile aserver/Makefile \ - test/Makefile test/lsb/Makefile \ diff --git a/src/conf/ucm/DB410c/DB410c.conf b/src/conf/ucm/DB410c/DB410c.conf new file mode 100644 index 0000000..590278f @@ -259,13 +258,12 @@ index 0000000..e10a136 +ucmdir = $(alsaconfigdir)/ucm/DB410c +ucm_DATA = DB410c.conf HDMI HiFi +EXTRA_DIST = $(ucm_DATA) -diff --git a/src/conf/ucm/Makefile.am b/src/conf/ucm/Makefile.am -index 14fc7ae..acf09d5 100644 ---- a/src/conf/ucm/Makefile.am -+++ b/src/conf/ucm/Makefile.am +diff -urN alsa-lib-1.1.0/src/conf/ucm/Makefile.am alsa-lib-1.1.0--fix/src/conf/ucm/Makefile.am +--- alsa-lib-1.1.0/src/conf/ucm/Makefile.am 2015-11-09 02:39:18.000000000 -0500 ++++ alsa-lib-1.1.0--fix/src/conf/ucm/Makefile.am 2016-05-06 17:15:35.823283339 -0400 @@ -1 +1 @@ --SUBDIRS=DAISY-I2S PandaBoard PandaBoardES SDP4430 tegraalc5632 PAZ00 GoogleNyan -+SUBDIRS=DAISY-I2S PandaBoard PandaBoardES SDP4430 tegraalc5632 PAZ00 GoogleNyan DB410c +-SUBDIRS=DAISY-I2S PandaBoard PandaBoardES SDP4430 tegraalc5632 PAZ00 GoogleNyan broadwell-rt286 ++SUBDIRS=DAISY-I2S PandaBoard PandaBoardES SDP4430 tegraalc5632 PAZ00 GoogleNyan broadwell-rt286 DB410c -- 2.8.1 |