attached patch converts sunleo(4) to cfb. this and bug #1192 are it for
low-hanging cfb fruit in the drivers, all the remaining cfb users (sunffb, mga,
glint, chips) need it for overlay support.
the custom GC handling in cfb doesn't translate to fb, so it's gone. i suspect
this leaves the driver more or less unaccelerated, but fb should be slightly
faster on its own so it may be a wash. shadowfb would be easy to add,
converting the GC code to XAA would be harder. i'd be happy to go as far as
shadowfb and then wait for a better AA to present itself.
untested for lack of hardware, but compiles with a minimum of external symbols,
should at least load.
Created attachment 795 [details] [review]
Created attachment 978 [details] [review]
slightly cleaner patch, deletes some dead code. still no shadowfb yet.
weeve@gentoo has tested this and reports that his cat still has all its fur.
i'll take a hack at adding shadowfb support too, but this looks good enough to
push into 6.9 as is.
applied to head, closing.