Skip to contentSkip to conversation

Unset DEFAULT_PREFERENCE for mesa-dri-7.2 and mesa-dri-7.4

PATCH In review Søren Holm 3 participants 4 messages Dec 7, 2009 – Dec 8, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Unset DEFAULT_PREFERENCE for mesa-dri-7.2 and mesa-dri-7.4

---
 recipes/mesa/mesa-dri_7.2.bb |    2 +-
 recipes/mesa/mesa-dri_7.4.bb |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes/mesa/mesa-dri_7.2.bb +1 -1
index 9356843..3030395 100644
@@ -9,7 +9,7 @@ PE = "1"
 PR = "${INC_PR}.0"
 
 # most of our targets do not have DRI so will use mesa-xlib
-DEFAULT_PREFERENCE = "-1"
+#DEFAULT_PREFERENCE = "-1"
 
 # ASUS EeePC 901 has DRI support so use mesa-dri by default
 DEFAULT_PREFERENCE_eee901 = "1"
recipes/mesa/mesa-dri_7.4.bb +1 -1
index 9356843..3030395 100644
@@ -9,7 +9,7 @@ PE = "1"
 PR = "${INC_PR}.0"
 
 # most of our targets do not have DRI so will use mesa-xlib
-DEFAULT_PREFERENCE = "-1"
+#DEFAULT_PREFERENCE = "-1"
 
 # ASUS EeePC 901 has DRI support so use mesa-dri by default
 DEFAULT_PREFERENCE_eee901 = "1"
Signature · 1 line
1.6.3.3
#1 lore raw

What's the rationale behind this change? And why do you comment it when we have an scm that can track changes?

regards,

Koen

Quoted 31 lines · Søren Holm
---
  recipes/mesa/mesa-dri_7.2.bb |    2 +-
  recipes/mesa/mesa-dri_7.4.bb |    2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
recipes/mesa/mesa-dri_7.2.bb +1 -1
index 9356843..3030395 100644
@@ -9,7 +9,7 @@ PE = "1"
  PR = "${INC_PR}.0"
 
  # most of our targets do not have DRI so will use mesa-xlib
-DEFAULT_PREFERENCE = "-1"
+#DEFAULT_PREFERENCE = "-1"
 
  # ASUS EeePC 901 has DRI support so use mesa-dri by default
  DEFAULT_PREFERENCE_eee901 = "1"
recipes/mesa/mesa-dri_7.4.bb +1 -1
index 9356843..3030395 100644
@@ -9,7 +9,7 @@ PE = "1"
  PR = "${INC_PR}.0"
 
  # most of our targets do not have DRI so will use mesa-xlib
-DEFAULT_PREFERENCE = "-1"
+#DEFAULT_PREFERENCE = "-1"
 
  # ASUS EeePC 901 has DRI support so use mesa-dri by default
  DEFAULT_PREFERENCE_eee901 = "1"
#2 lore raw
Quoted 6 lines · Koen Kooi

What's the rationale behind this change? And why do you comment it when we have an scm that can track changes?

regards,

Koen

I had similar problem in xorg-7.5 branch.

Few packages depending on "mesa" directly, I replaced all with virtual/libgl which is probably provided by all mesa variants (normal, -full, -dri, -xlib).

Then we can use normal preference in all mesa recipes and select right variant with PREFERRED_PROVIDER in machine config, right?

Can I merge those patches for depends on virtual/libgl?

Whole mesa directory seems quite messy to me.. 4 generations of mesa recipes with own include files, 4 variants with not so bigg diff. But my mesa knowledge wrt all oe devices isn't strong enough to encourage me to cleanup it a bit (I'm glad that mesa-dri-7.6 works good with spitz and for om-gta02 we use mesa-dri_git with special glamo DRI patches from Thomas White's branch).

Signature · 3 lines
uin:136542059                jid:[email protected]
Jansa Martin                 sip:[email protected] 
JaMa                         
#3 lore raw
In reply to Koen Kooi

Tirsdag 08 december 2009 09:05:40 skrev Koen Kooi:

Quoted 1 line

What's the rationale behind this change?

virtual/libgl pulls in mesa-dri-6.5 which does not compile agains libdrm 2.4.11. mesa-dri7.4 compile clean though.

Quoted 1 line

And why do you comment it when we have an scm that can track changes?

Ehm ... might not be the best change then. My apologizes.

/Søren Holm