From: Michel <mic...@ii...> - 2001-06-22 00:17:06
|
The attached patch significantly enhances the 16 bit handling of aty128fb. I've achieved this mainly by consequently distinguishing between 'depth' and 'bpp'. I've used these terms for the same meanings as in XFree86 4.x; please let me know if you prefer other terms. While this now works perfectly in X for both depth 15 and 16 as well as in console for fbset -depth 16 -rgba 5,5,5,0 , some colors are wrong for fbset -depth 16 -rgba 5,6,5,0 . It's not clear to me whether the palette for 565 should have 32 or 64 entries. The patch is against 2.4.5-pre3 from Benjamin Herrenschmidt's tree so the offsets are probably off for Linus' tree. BTW I'd love to work on adding Rage128 and Radeon support to the new atyfb. PS: Ah yes, the patch also fixes panning. :) -- Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer CS student, Free Software enthusiast \ XFree86 and DRI project member |