Skip to contentSkip to conversation

atyfb (2.6): RGB565 support - take 2

PATCH New Ville Syrjälä 1 participant 1 message May 14, 2004 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atyfb (2.6): RGB565 support - take 2

My previous atyfb RGB565 patch didn't handle partial color map updates correctly. This version should.

Signature · 3 lines
Ville Syrjälä
[email protected]
http://www.sci.fi/~syrjala/
drivers/video/aty/atyfb.h +1 -0
diff -urN linux-orig/drivers/video/aty/atyfb.h linux/drivers/video/aty/atyfb.h
@@ -116,6 +116,7 @@
 
 struct atyfb_par {
 	struct aty_cmap_regs *aty_cmap_regs;
+	struct { u8 red, green, blue; } palette[256];
 	const struct aty_dac_ops *dac_ops;
 	const struct aty_pll_ops *pll_ops;
 	unsigned long ati_regbase;
drivers/video/aty/atyfb_base.c +69 -25

151 lines not on this page · raw message