Patchwork libdrm: enable freedreno experimental support

login
register
mail settings
Submitter Nicolas Dechesne
Date July 18, 2014, 10:33 a.m.
Message ID <1405679581-32482-1-git-send-email-nicolas.dechesne@linaro.org>
Download mbox | patch
Permalink /patch/76043/
State Accepted
Commit d984fcf740e0a9661c459d435dc11c07d6ed3c62
Headers show

Comments

Nicolas Dechesne - July 18, 2014, 10:33 a.m.
The freedreno project is a free and open source linux driver for the 2D/3D GPUs
in Qualcomm snapdragon SoCs.

Support for freedreno in libdrm was added around 2.4.43.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
---
 meta/recipes-graphics/drm/libdrm.inc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-graphics/drm/libdrm.inc b/meta/recipes-graphics/drm/libdrm.inc
index 1b2ffeb..5ec6307 100644
--- a/meta/recipes-graphics/drm/libdrm.inc
+++ b/meta/recipes-graphics/drm/libdrm.inc
@@ -21,14 +21,15 @@  inherit autotools pkgconfig
 
 EXTRA_OECONF += "--disable-cairo-tests \
                  --enable-omap-experimental-api \
+                 --enable-freedreno-experimental-api \
                  --enable-install-test-programs \
                 "
 ALLOW_EMPTY_${PN}-drivers = "1"
 PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
-             ${PN}-intel ${PN}-exynos ${PN}-kms"
+             ${PN}-intel ${PN}-exynos ${PN}-kms ${PN}-freedreno"
 
 RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
-                             ${PN}-exynos"
+                             ${PN}-exynos ${PN}-freedreno"
 
 FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode* ${bindir}/*test"
 FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*"
@@ -37,3 +38,4 @@  FILES_${PN}-omap = "${libdir}/libdrm_omap.so.*"
 FILES_${PN}-intel = "${libdir}/libdrm_intel.so.*"
 FILES_${PN}-exynos = "${libdir}/libdrm_exynos.so.*"
 FILES_${PN}-kms = "${libdir}/libkms*.so.*"
+FILES_${PN}-freedreno = "${libdir}/libdrm_freedreno.so.*"