Patchwork [v4] mesa-dri: add extra dri drivers

login
register
mail settings
Submitter igeiser@devonit.com
Date Jan. 31, 2013, 6:22 p.m.
Message ID <1359656561-9968-1-git-send-email-igeiser@devonit.com>
Download mbox | patch
Permalink /patch/43769/
State Accepted
Commit 4a4049b2fb4ade9d0bdb9354271534066a601411
Headers show

Comments

igeiser@devonit.com - Jan. 31, 2013, 6:22 p.m.
From: Ian Reinhart Geiser <igeiser@devonit.com>

 * By default enable only swrast.  This needs to
   be here or for some reason qemuarm tries to
   detect the intel dri libraries and fails.
 * For x86 and x86-64 explicitly set all of
   the supported drm drivers.

 builds properly with qemux86 qemuarm and qemux86-64

Signed-off-by: Ian Reinhart Geiser <igeiser@devonit.com>
---
 meta/recipes-graphics/mesa/mesa-dri.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Ross Burton - Feb. 1, 2013, 11:02 a.m.
On 31 January 2013 18:22,  <igeiser@devonit.com> wrote:
> From: Ian Reinhart Geiser <igeiser@devonit.com>
>
>  * By default enable only swrast.  This needs to
>    be here or for some reason qemuarm tries to
>    detect the intel dri libraries and fails.
>  * For x86 and x86-64 explicitly set all of
>    the supported drm drivers.
>
>  builds properly with qemux86 qemuarm and qemux86-64
>
> Signed-off-by: Ian Reinhart Geiser <igeiser@devonit.com>

Acked-by: Ross Burton <ross.burton@intel.com>

Ross

Patch

diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index 1f6ec78..e43150b 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -2,8 +2,8 @@  DEPENDS += "libdrm expat udev"
 X11_DEPS += "dri2proto"
 
 DRIDRIVERS = "swrast"
-DRIDRIVERS_append_x86 = ",i915,i965"
-DRIDRIVERS_append_x86-64 = ",i915,i965"
+DRIDRIVERS_append_x86 = ",radeon,r200,nouveau,i965,i915"
+DRIDRIVERS_append_x86-64 = ",radeon,r200,nouveau,i965,i915"
 
 EXTRA_OECONF += "--disable-gallium --without-gallium-drivers"
 EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}"