[PATCH] Add support for RENDER BGRA formats.

Adam Jackson ajax at nwnk.net
Thu Oct 29 15:33:20 PDT 2009


On Thu, 2009-10-29 at 22:26 +0100, Mark Kettenis wrote:

> Excellent!  After initializing MW0_CTRL to 0x00060000, it seems things
> just work.  I'll prepare a proper diff to do that on big-endian machines.

Very cool.

> To make the card work properly I still have to solve two issues:
> 
> 1. It seems the ACNTRL register doesn't exist on the i128v2 chip.
>    Writes to this register result in a PCI bus error.  This was
>    probably never noticed, since on standard PC hardware writes to
>    non-existent registers silently fail.  Do the docs contain some
>    hints suggesting this is indeed the case?

Kind of?  It's the alpha blender setup register, and described as "the
Imagine 3 blending unit", which sort of implies it didn't exist on
Imagine 2.  I'm pretty sure Imagine 1 and 2 didn't even have a triangle
unit, let alone an alpha blender.

> 2. Does the hardware by any chance map the VGA legacy I/O ports within
>    one of its BARs?

It might.  BAR 5 is the I/O map, and it's 256 bytes.  They're all
defined right up to 0xBC, which smells a little suspicious since the VGA
ports it claims to decode are 3C[0-5ACEF] and 3[BD][45A].  So while it
doesn't _say_ the VGA ports are aliased there starting at 0xC0, I'd be
utterly unsurprised.

I guess I don't see how it matters though, you can already get to the
colormap and mode, and you won't be using VGA fonts.  (Unless you do VGA
console even on non-x86 machines?  That would be vile.)

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.x.org/archives/xorg-devel/attachments/20091029/6f5fa08b/attachment.pgp 


More information about the xorg-devel mailing list