[PATCH 2/5] Disable DRI by default on IA64.

2011-11-04 Thread Johannes Obermayr
See: https://bugzilla.novell.com/show_bug.cgi?id=437651
---
 src/radeon_driver.c |5 -
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/radeon_driver.c b/src/radeon_driver.c
index 293897a..2cfe36a 100644
--- a/src/radeon_driver.c
+++ b/src/radeon_driver.c
@@ -2387,8 +2387,11 @@ static Bool RADEONPreInitDRI(ScrnInfoPtr pScrn)
return FALSE;
}
 }
-
+#if !defined (__ia64__)
 if (!xf86ReturnOptValBool(info-Options, OPTION_DRI, TRUE)) {
+#else
+if (!xf86ReturnOptValBool(info-Options, OPTION_DRI, FALSE)) {
+#endif
xf86DrvMsg(pScrn-scrnIndex, X_INFO,
Direct rendering forced off\n);
return FALSE;
-- 
1.7.7

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: [PATCH 2/5] Disable DRI by default on IA64.

2011-11-04 Thread Dave Airlie
On Fri, Nov 4, 2011 at 3:42 PM, Johannes Obermayr
johannesoberm...@gmx.de wrote:
 See: https://bugzilla.novell.com/show_bug.cgi?id=437651
 ---
You are not authorized to access bug #437651.

Open the bug or fix the commit msg :)

Dave.

  src/radeon_driver.c |    5 -
  1 files changed, 4 insertions(+), 1 deletions(-)

 diff --git a/src/radeon_driver.c b/src/radeon_driver.c
 index 293897a..2cfe36a 100644
 --- a/src/radeon_driver.c
 +++ b/src/radeon_driver.c
 @@ -2387,8 +2387,11 @@ static Bool RADEONPreInitDRI(ScrnInfoPtr pScrn)
            return FALSE;
        }
     }
 -
 +#if !defined (__ia64__)
     if (!xf86ReturnOptValBool(info-Options, OPTION_DRI, TRUE)) {
 +#else
 +    if (!xf86ReturnOptValBool(info-Options, OPTION_DRI, FALSE)) {
 +#endif
        xf86DrvMsg(pScrn-scrnIndex, X_INFO,
                Direct rendering forced off\n);
        return FALSE;
 --
 1.7.7

 ___
 xorg-driver-ati mailing list
 xorg-driver-ati@lists.x.org
 http://lists.x.org/mailman/listinfo/xorg-driver-ati

___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati