On 04/11/16 05:21 PM, Jochen Rollwagen wrote: > From 66b8b1513464aa3258ae6a024fcaea7a02e2def0 Mon Sep 17 00:00:00 2001 > From: Jochen Rollwagen <joro-2013 at t-online.de> > Date: Fri, 4 Nov 2016 09:11:38 +0100 > Subject: [PATCH] Fix RadeonCopyData bpp=2 case for big-endian > > The current code in RadeonCopyData blocks the bpp=2 case setting > swappiness to RADEON_HOST_DATA_SWAP_16BIT. > This patch fixes this. > --- > src/radeon_video.c | 10 ++-------- > 1 file changed, 2 insertions(+), 8 deletions(-) > > diff --git a/src/radeon_video.c b/src/radeon_video.c > index d058986..2de0b48 100644 > --- a/src/radeon_video.c > +++ b/src/radeon_video.c > @@ -198,15 +198,10 @@ RADEONCopyData( > unsigned int w, > unsigned int bpp > ){ > - /* Get the byte-swapping right for big endian systems */ > - if ( bpp == 2 ) { > - w *= 2; > - bpp = 1; > - } Unless this actually fixes anything for you, NAK, see https://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=5249f450a2487475a95531603cc8668db2c21c33 . -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer