The pseudopalette will only matter for truecolor and directcolor as the
rest of the visuals bypasses the pseudopalette. Typecasting to
"unsigned long" rather than "u32" is also safer (even for bpp16) since
in 64-bit machines, the drawing functions use fb_writeq instead of
fb_writel. So, all drivers using the cfb_* functions should change from
"u32" to "unsigned long" _whatever_ the bit depth when loading the
pseudopalette.
Of course, drivers with their own drawing functions can use whatever
they want.
Tony
PS: cfb_fillrect is still limited to u32 though which can hopefully be
fixed in the future.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/