[PATCH] Fix ConnectorTable crash in radeon_output.c

Michel Dänzer michel at daenzer.net
Fri Feb 24 03:41:15 PST 2012


On Fre, 2012-02-24 at 12:33 +0100, Hans Verkuil wrote: 
> On Friday, February 24, 2012 11:58:59 Michel Dänzer wrote:
> > On Fre, 2012-02-24 at 11:24 +0100, Hans Verkuil wrote: 
> > > 
> > > I've also tried to get drm to work with this board, but unfortunately the colors
> > > have the wrong endianness and I don't really have any idea how to fix that (or
> > > even where to look for that matter). For the record, this board has a ATI Radeon
> > > Mobility M9.
> > 
> > The colours are wrong doing what?
> 
> The color components are in the wrong endian order (ABGR instead of RGBA). The PPC
> is a big endian machine

I know, I've fixed a lot of problems like that. :)

> and as far as I could tell the radeon driver actually detected that
> correctly, but there is still some 32-bit swap going on somewhere.

Under what circumstances exactly you're seeing wrong colours:

In console and/or in X?

If the latter, with all apps or only certain ones, e.g. using 3D
acceleration?

...


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer


More information about the xorg-driver-ati mailing list