diff options
author | dawes <dawes> | 2003-12-18 21:56:37 +0000 |
---|---|---|
committer | dawes <dawes> | 2003-12-18 21:56:37 +0000 |
commit | 87e9919222f9e2d8e0499167fb5eb04edc8d41d2 (patch) | |
tree | 53b2ab1f76387736f906d9cebfe8c0e68687e5bd | |
parent | ad522c606d4f2584a5e968aaf753013ccc072b22 (diff) |
Potential for "xf86ReadMmio32 not found" with DRI on Alpha.
-rw-r--r-- | lib/GL/mesa/src/drv/r128/r128_ioctl.c | 3 | ||||
-rw-r--r-- | lib/GL/mesa/src/drv/r200/r200_screen.c | 3 | ||||
-rw-r--r-- | lib/GL/mesa/src/drv/radeon/radeon_ioctl.c | 7 | ||||
-rw-r--r-- | lib/GL/mesa/src/drv/radeon/radeon_screen.c | 3 |
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/GL/mesa/src/drv/r128/r128_ioctl.c b/lib/GL/mesa/src/drv/r128/r128_ioctl.c index 192418c72..544716ab1 100644 --- a/lib/GL/mesa/src/drv/r128/r128_ioctl.c +++ b/lib/GL/mesa/src/drv/r128/r128_ioctl.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/lib/GL/mesa/src/drv/r128/r128_ioctl.c,v 1.10 2002/12/16 16:18:53 dawes Exp $ */ +/* $XFree86: xc/lib/GL/mesa/src/drv/r128/r128_ioctl.c,v 1.11 2003/09/28 20:15:20 alanh Exp $ */ /************************************************************************** Copyright 1999, 2000 ATI Technologies Inc. and Precision Insight, Inc., @@ -32,6 +32,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. * */ +#define STANDALONE_MMIO #include "r128_context.h" #include "r128_state.h" #include "r128_ioctl.h" diff --git a/lib/GL/mesa/src/drv/r200/r200_screen.c b/lib/GL/mesa/src/drv/r200/r200_screen.c index bc623bffe..51c0347bf 100644 --- a/lib/GL/mesa/src/drv/r200/r200_screen.c +++ b/lib/GL/mesa/src/drv/r200/r200_screen.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/lib/GL/mesa/src/drv/r200/r200_screen.c,v 1.5 2003/09/28 20:15:24 alanh Exp $ */ +/* $XFree86: xc/lib/GL/mesa/src/drv/r200/r200_screen.c,v 1.6 2003/12/02 13:02:39 alanh Exp $ */ /* Copyright (C) The Weather Channel, Inc. 2002. All Rights Reserved. @@ -39,6 +39,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "imports.h" #include "context.h" +#define STANDALONE_MMIO #include "r200_screen.h" #include "r200_context.h" #include "r200_ioctl.h" diff --git a/lib/GL/mesa/src/drv/radeon/radeon_ioctl.c b/lib/GL/mesa/src/drv/radeon/radeon_ioctl.c index 42d8d382b..f705feacc 100644 --- a/lib/GL/mesa/src/drv/radeon/radeon_ioctl.c +++ b/lib/GL/mesa/src/drv/radeon/radeon_ioctl.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/lib/GL/mesa/src/drv/radeon/radeon_ioctl.c,v 1.12 2003/09/28 20:15:27 alanh Exp $ */ +/* $XFree86: xc/lib/GL/mesa/src/drv/radeon/radeon_ioctl.c,v 1.13 2003/12/02 13:02:39 alanh Exp $ */ /************************************************************************** Copyright 2000, 2001 ATI Technologies Inc., Ontario, Canada, and @@ -46,6 +46,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "radeon_tcl.h" #include "radeon_sanity.h" +#define STANDALONE_MMIO #include "radeon_macros.h" /* for INREG() */ #include "vblank.h" @@ -715,12 +716,10 @@ static CARD32 radeonGetLastFrame (radeonContextPtr rmesa) else ret = -EINVAL; -#ifndef __alpha__ if ( ret == -EINVAL ) { frame = INREG( RADEON_LAST_FRAME_REG ); ret = 0; } -#endif if ( ret ) { fprintf( stderr, "%s: drmRadeonGetParam: %d\n", __FUNCTION__, ret ); exit(1); @@ -1008,12 +1007,10 @@ static void radeonClear( GLcontext *ctx, GLbitfield mask, GLboolean all, } else ret = -EINVAL; -#ifndef __alpha__ if ( ret == -EINVAL ) { clear = INREG( RADEON_LAST_CLEAR_REG ); ret = 0; } -#endif if ( ret ) { fprintf( stderr, "%s: drmRadeonGetParam: %d\n", __FUNCTION__, ret ); exit(1); diff --git a/lib/GL/mesa/src/drv/radeon/radeon_screen.c b/lib/GL/mesa/src/drv/radeon/radeon_screen.c index 68f586fa5..280a7d797 100644 --- a/lib/GL/mesa/src/drv/radeon/radeon_screen.c +++ b/lib/GL/mesa/src/drv/radeon/radeon_screen.c @@ -1,4 +1,4 @@ -/* $XFree86: xc/lib/GL/mesa/src/drv/radeon/radeon_screen.c,v 1.8 2003/09/28 20:15:29 alanh Exp $ */ +/* $XFree86: xc/lib/GL/mesa/src/drv/radeon/radeon_screen.c,v 1.9 2003/12/02 13:02:39 alanh Exp $ */ /************************************************************************** Copyright 2000, 2001 ATI Technologies Inc., Ontario, Canada, and @@ -38,6 +38,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "glheader.h" #include "imports.h" +#define STANDALONE_MMIO #include "radeon_context.h" #include "radeon_screen.h" #include "radeon_macros.h" |