[PATCH] Add support for RENDER BGRA formats.

Mark Kettenis mark.kettenis at xs4all.nl
Tue Oct 27 03:33:10 PDT 2009

> From: Michael <macallan at netbsd.org>
> Date: Tue, 13 Oct 2009 15:22:55 -0400
> Hello,

Hi Michael,

Sorry for the late reply; I just returned from a trip to India.

> ... which reminds me - I have an SBus card with ( among others ) an  
> I128. I wrote an accelerated kernel driver for NetBSD using the X  
> driver as reference, but the X driver doesn't support any mono-to- 
> colour expansion. Does anyone have any I128 docs? Or does the chip  
> simply not support colour expansion?
> I have never heard of any i128 PCI cards for Suns - do you have a  
> model name or something?

It's a Tech Source Raptor GFX-8M.

> Most PCI graphics chips have their (framebuffer) apertures split into  
> a big endian and a little endian half, some have programmable byte  
> twiddling, some have both. It would be a strange choice to pick one of  
> the few chips that don't support big endian mode for a big endian  
> machine. So, it's probably there somewhere.

Yeah, that's what I figured as well.  I didn't manage to find the
right bits to do this though.  Hopefully Adam can provide some hints
though once I mail him the Xorg.log output.

> Also, it might give you a hint or two if you ran the OF console in 24  
> bit ( output-device=screen:r1152x900x76x24 works on at least some Sun  
> graphics boards ) and then check if the address property agrees with  
> the framebuffer BAR ( there should be an entry for it in /memory/ 
> translations, 'address' is an OF virtual address after all )
> Or, just check what's halfway up the framebuffer aperture.

As far as I could determine, the OF console driver only supports 8-bit

Anyway, thanks for the hints so far.


More information about the xorg-devel mailing list