xf86-video-ati: Branch 'master'

Michel Daenzer daenzer at kemper.freedesktop.org
Thu Sep 27 08:50:47 PDT 2007


 src/radeon_exa_funcs.c |    4 ----
 1 file changed, 4 deletions(-)

New commits:
diff-tree 4d9f944e40c6b9ac7e80428dff49c6e83fda1d8f (from 5902e913010a2fb0c17efe01f9aade73f9646f16)
Author: Michel Dänzer <michel at tungstengraphics.com>
Date:   Thu Sep 27 17:50:15 2007 +0200

    radeon: Fix build on little endian platforms.
    
    This was accidentally broken when moving away from using pixmap data pointers
    directly.

diff --git a/src/radeon_exa_funcs.c b/src/radeon_exa_funcs.c
index 8e14cd9..2b7f0e8 100644
--- a/src/radeon_exa_funcs.c
+++ b/src/radeon_exa_funcs.c
@@ -241,9 +241,7 @@ static Bool
 FUNC_NAME(RADEONUploadToScreen)(PixmapPtr pDst, int x, int y, int w, int h,
 				char *src, int src_pitch)
 {
-#if X_BYTE_ORDER == X_BIG_ENDIAN || defined(ACCEL_CP)
     RINFO_FROM_SCREEN(pDst->drawable.pScreen);
-#endif
     CARD8	   *dst	     = info->FB + exaGetPixmapOffset(pDst);
     unsigned int   dst_pitch = exaGetPixmapPitch(pDst);
     unsigned int   bpp	     = pDst->drawable.bitsPerPixel;
@@ -353,9 +351,7 @@ static Bool
 FUNC_NAME(RADEONDownloadFromScreen)(PixmapPtr pSrc, int x, int y, int w, int h,
 				    char *dst, int dst_pitch)
 {
-#if defined(ACCEL_CP) || X_BYTE_ORDER == X_BIG_ENDIAN
     RINFO_FROM_SCREEN(pSrc->drawable.pScreen);
-#endif
 #if X_BYTE_ORDER == X_BIG_ENDIAN
     unsigned char *RADEONMMIO = info->MMIO;
     unsigned int swapper = info->ModeReg.surface_cntl &


More information about the xorg-commit mailing list