Adam Jackson | 1 Aug 2012 17:45
Picon
Favicon

[PATCH] linux: Default to dri not xlib on all arches

Even on s390{,x} where there's no video card, you still want this so GLX
protocol works.

Signed-off-by: Adam Jackson <ajax <at> redhat.com>
---
 configure.ac |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index b01b192..258c8ba 100644
--- a/configure.ac
+++ b/configure.ac
 <at>  <at>  -723,9 +723,7  <at>  <at>  default_driver="xlib"

 case "$host_os" in
 linux*)
-    case "$host_cpu" in
-    i*86|x86_64|powerpc*|sparc*|ia64*) default_driver="dri";;
-    esac
+    default_driver="dri";;
     ;;
 *freebsd* | dragonfly* | *netbsd*)
     case "$host_cpu" in
--

-- 
1.7.7.6
Matt Turner | 1 Aug 2012 17:52
Picon

Re: [PATCH] linux: Default to dri not xlib on all arches

On Wed, Aug 1, 2012 at 8:45 AM, Adam Jackson <ajax <at> redhat.com> wrote:
> Even on s390{,x} where there's no video card, you still want this so GLX
> protocol works.
>
> Signed-off-by: Adam Jackson <ajax <at> redhat.com>
> ---
>  configure.ac |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index b01b192..258c8ba 100644
> --- a/configure.ac
> +++ b/configure.ac
>  <at>  <at>  -723,9 +723,7  <at>  <at>  default_driver="xlib"
>
>  case "$host_os" in
>  linux*)
> -    case "$host_cpu" in
> -    i*86|x86_64|powerpc*|sparc*|ia64*) default_driver="dri";;
> -    esac
> +    default_driver="dri";;
>      ;;
>  *freebsd* | dragonfly* | *netbsd*)
>      case "$host_cpu" in
> --

Yes, please. Too many bad defaults in configure.ac. My alpha with an
R350 thanks you.

Reviewed-by: Matt Turner <mattst88 <at> gmail.com>
(Continue reading)

Adam Jackson | 1 Aug 2012 18:38
Picon
Favicon

Re: [PATCH] linux: Default to dri not xlib on all arches

On 8/1/12 11:52 AM, Matt Turner wrote:
> On Wed, Aug 1, 2012 at 8:45 AM, Adam Jackson <ajax <at> redhat.com> wrote:
>> Even on s390{,x} where there's no video card, you still want this so GLX
>> protocol works.
>
> Yes, please. Too many bad defaults in configure.ac. My alpha with an
> R350 thanks you.
>
> Reviewed-by: Matt Turner <mattst88 <at> gmail.com>

Pushed, thanks.

- ajax

Gmane