patch-2.1.132 linux/drivers/video/chipsfb.c
Next file: linux/drivers/video/controlfb.c
Previous file: linux/drivers/video/cgsixfb.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon Dec 21 14:48:04 1998
- Orig file:
v2.1.131/linux/drivers/video/chipsfb.c
- Orig date:
Thu Nov 19 09:56:28 1998
diff -u --recursive --new-file v2.1.131/linux/drivers/video/chipsfb.c linux/drivers/video/chipsfb.c
@@ -358,6 +358,7 @@
if (con == currcon) {
write_cr(0x13, 200); // 16 bit display width (decimal)
write_xr(0x81, 0x14); // 15 bit (TrueColor) color mode
+ write_xr(0x82, 0x00); // disable palettes
write_xr(0x20, 0x10); // 16 bit blitter mode
}
@@ -379,6 +380,7 @@
if (con == currcon) {
write_cr(0x13, 100); // 8 bit display width (decimal)
write_xr(0x81, 0x12); // 8 bit color mode
+ write_xr(0x82, 0x08); // Graphics gamma enable
write_xr(0x20, 0x00); // 8 bit blitter mode
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov