? Makefile ? r128.4.html ? r128._man Index: radeon_driver.c =================================================================== RCS file: /cvs/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c,v retrieving revision 1.71 diff -u -r1.71 radeon_driver.c --- radeon_driver.c 2002/11/09 14:19:46 1.71 +++ radeon_driver.c 2002/11/25 15:21:29 @@ -4805,13 +4805,21 @@ save->surface_cntl = RADEON_SURF_TRANSLATION_DIS; #if X_BYTE_ORDER == X_BIG_ENDIAN - switch (pScrn->bitsPerPixel) { - case 16: - save->surface_cntl |= RADEON_NONSURF_AP0_SWP_16BPP; - break; + if (info->ChipFamily == CHIP_FAMILY_RV250 || + info->ChipFamily == CHIP_FAMILY_M9) { + save->surface_cntl = 0; + } - case 32: - save->surface_cntl |= RADEON_NONSURF_AP0_SWP_32BPP; + switch (pScrn->bitsPerPixel) { + case 16: + save->surface_cntl |= RADEON_NONSURF_AP0_SWP_16BPP; + save->surface_cntl |= RADEON_NONSURF_AP1_SWP_16BPP; + break; + + case 24: + case 32: + save->surface_cntl |= RADEON_NONSURF_AP0_SWP_32BPP; + save->surface_cntl |= RADEON_NONSURF_AP1_SWP_32BPP; break; } #endif Index: radeon_reg.h =================================================================== RCS file: /cvs/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_reg.h,v retrieving revision 1.21 diff -u -r1.21 radeon_reg.h --- radeon_reg.h 2002/10/30 12:52:13 1.21 +++ radeon_reg.h 2002/11/25 15:21:31 @@ -1045,6 +1045,8 @@ # define RADEON_SURF_TRANSLATION_DIS (1 << 8) # define RADEON_NONSURF_AP0_SWP_16BPP (1 << 20) # define RADEON_NONSURF_AP0_SWP_32BPP (1 << 21) +# define RADEON_NONSURF_AP1_SWP_16BPP (1 << 22) +# define RADEON_NONSURF_AP1_SWP_32BPP (1 << 23) #define RADEON_SURFACE0_INFO 0x0b0c #define RADEON_SURFACE0_LOWER_BOUND 0x0b04 #define RADEON_SURFACE0_UPPER_BOUND 0x0b08