[PATCH] Fix ConnectorTable crash in radeon_output.c
hverkuil at xs4all.nl
Fri Feb 24 03:46:56 PST 2012
On Friday, February 24, 2012 12:41:15 Michel Dänzer wrote:
> 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?
X. The console seems to be fine.
> If the latter, with all apps or only certain ones, e.g. using 3D
All apps. Actually, I don't think I tested 3D apps so I can't be
100% certain about that. But the whole desktop is with swapped colors.
More information about the xorg-driver-ati