Patchwork [meta-fsl-arm,v2,7/8] xf86-dri-vivante: Fix DRI module name

login
register
mail settings
Submitter Otavio Salvador
Date April 12, 2013, 12:36 p.m.
Message ID <1365770203-19285-8-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/48033/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - April 12, 2013, 12:36 p.m.
The Xorg Vivante driver has a hardcoded module name as 'vivante_dri'
so we need to rename it for full Xorg acceleration to work.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v2: None

 recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb b/recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb
index 975041d..6e8f8db 100644
--- a/recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb
+++ b/recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb
@@ -30,6 +30,10 @@  do_install_append () {
 
     # FIXME: don't install libtool (*.la) file
     rm ${D}${libdir}/xorg/modules/extensions/*.la
+
+    # FIXME: The Xorg driver has a hardcoded library name
+    mv ${D}${libdir}/xorg/modules/extensions/libdri.so \
+       ${D}${libdir}/xorg/modules/extensions/libvivante_dri.so
 }
 
 FILES_${PN}-dev += "${includedir}/xorg/*.h"