summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-14 15:32:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-15 00:41:23 +0100
commit2fd6598a2ced86a54e82062e9e2a547544360e32 (patch)
tree8e244300753b2eedf94a12e4983d8be30b0d7338
parent6879750ad5ea227226041f36f18c493058b3ee8b (diff)
downloadpoky-2fd6598a2ced86a54e82062e9e2a547544360e32.tar.gz
mesa-dri: Enable swrast only by default and intel drivers only on IA platform
(From OE-Core rev: d1b12b92439805ec9ca5d031d34d264acd0cab3b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri.inc6
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri_7.11.bb4
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri_git.bb2
3 files changed, 5 insertions, 7 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index 603438ef0b..795144a2e6 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -4,7 +4,11 @@ LIB_DEPS += "libdrm expat"
4# most of our targets do not have DRI so will use mesa-xlib 4# most of our targets do not have DRI so will use mesa-xlib
5DEFAULT_PREFERENCE = "-1" 5DEFAULT_PREFERENCE = "-1"
6 6
7EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers" 7DRIDRIVERS = "swrast"
8DRIDRIVERS_x86 = "swrast,i915,i965"
9DRIDRIVERS_x86-64 = "swrast,i915,i965"
10
11EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers --with-dri-drivers=${DRIDRIVERS}"
8 12
9python populate_packages_prepend() { 13python populate_packages_prepend() {
10 import os.path 14 import os.path
diff --git a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
index 6a4f9a9c3b..5d25127fcf 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_7.11.bb
@@ -2,7 +2,3 @@ include mesa-common.inc
2include mesa-${PV}.inc 2include mesa-${PV}.inc
3include mesa-dri.inc 3include mesa-dri.inc
4PR = "${INC_PR}.0" 4PR = "${INC_PR}.0"
5
6EXTRA_OECONF += "--with-dri-drivers=swrast,i915,i965"
7
8COMPATIBLE_HOST = '(i.86.*-linux|x86_64.*-linux)'
diff --git a/meta/recipes-graphics/mesa/mesa-dri_git.bb b/meta/recipes-graphics/mesa/mesa-dri_git.bb
index 15cde609d2..a0e19459f1 100644
--- a/meta/recipes-graphics/mesa/mesa-dri_git.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri_git.bb
@@ -7,5 +7,3 @@ DEFAULT_PREFERENCE = "-2"
7 7
8PR = "${INC_PR}.0" 8PR = "${INC_PR}.0"
9 9
10COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
11