patch-2.1.97 linux/drivers/macintosh/ati-gx.h
Next file: linux/drivers/macintosh/aty.c
Previous file: linux/drivers/macintosh/adb.c
Back to the patch index
Back to the overall index
- Lines: 107
- Date:
Tue Apr 14 17:33:59 1998
- Orig file:
v2.1.96/linux/drivers/macintosh/ati-gx.h
- Orig date:
Mon Jan 12 15:18:13 1998
diff -u --recursive --new-file v2.1.96/linux/drivers/macintosh/ati-gx.h linux/drivers/macintosh/ati-gx.h
@@ -1,64 +1,37 @@
-#if 0 /* not filled inaty_gt_reg_init yet */
-/* Register values for 1280x1024, 75Hz mode (20) */
+/* Register values for 1280x1024, 75Hz (WAS 60) mode (20) */
static struct aty_regvals aty_gx_reg_init_20 = {
- { 0x10, 0x28, 0x3c },
- { },
- { } /* pixel clock = 134.61MHz for V=74.81Hz */
-};
+ { 0x200, 0x200, 0x200 },
-/* Register values for 1280x960, 75Hz mode (19) */
-static struct aty_regvals aty_gx_reg_init_19 = {
- { 0x10, 0x28, 0x3c },
- { },
- { } /* pixel clock = 126.01MHz for V=75.01 Hz */
-};
+ { 0x1200a5, 0x1200a3, 0x1200a3 },
+ { 0x30c0200, 0x30e0300, 0x30e0300 },
+ { 0x2, 0x3, 0x3 },
+
+ 0x9f00d2, 0x3ff0429, 0x30400, 0x28100040,
+ { 0xd4, 0x9 }
+};
/* Register values for 1152x870, 75Hz mode (18) */
static struct aty_regvals aty_gx_reg_init_18 = {
- { 0x10, 0x28, 0x50 },
- { },
- { } /* pixel clock = 100.33MHz for V=75.31Hz */
-};
+ { 0x200, 0x200, 0x200 },
-/* Register values for 1024x768, 75Hz mode (17) */
-static struct aty_regvals aty_gx_reg_init_17 = {
- { 0x10, 0x28, 0x50 },
- { },
- { } /* pixel clock = 79.55MHz for V=74.50Hz */
-};
+ { 0x300097, 0x300095, 0x300094 },
+ { 0x3090200, 0x30e0300, 0x30e0600 },
+ { 0x2, 0x3, 0x6 },
-/* Register values for 1024x768, 72Hz mode (15) */
-static struct aty_regvals aty_gx_reg_init_15 = {
- { 0x10, 0x28, 0x50 },
- { },
- { } /* pixel clock = 78.12MHz for V=72.12Hz */
+ 0x8f00b5, 0x3650392, 0x230368, 0x24100040,
+ { 0x53, 0x3 }
};
-#endif
-
-
-/* Register values for 1280x1024, 60Hz mode (20) */
-static struct aty_regvals aty_gx_reg_init_20 = {
- { 0, 0, 0 },
-
- { 0x310086, 0x310084, 0x310084 },
- { 0x3070200, 0x30e0300, 0x30e0300 },
- { 0x2002312, 0x3002312, 0x3002312 },
-
- 0x7f00a5, 0x2ff0325, 0x260302, 0x20100000,
- { 0x88, 0x7 }
-};
-
/* Register values for 1024x768, 75Hz mode (17) */
static struct aty_regvals aty_gx_reg_init_17 = {
- { 0, 0, 0 },
+ { 0x200, 0x200, 0x200 },
- { 0xc0085, 0xc0083, 0xc0083 },
- { 0x3070200, 0x30e0300, 0x30e0300 },
- { 0x2002312, 0x3002312, 0x3002312 },
+ { 0x2c0087, 0x2c0085, 0x2c0084 },
+ { 0x3070200, 0x30e0300, 0x30e0600 },
+ { 0x2, 0x3, 0x6 },
- 0x7f00a3, 0x2ff031f, 0x30300, 0x20100000,
- { 0x41, 0x3 }
+ 0x7f00a5, 0x2ff0323, 0x230302, 0x20100000,
+ { 0x42, 0x3 }
};
/* Register values for 1024x768, 72Hz mode (15) */
@@ -87,14 +60,14 @@
/* Register values for 832x624, 75Hz mode (13) */
static struct aty_regvals aty_gx_reg_init_13 = {
- { 0x200, 0x200, 0x200 },
+ { 0x200, 0x200, 0x200 },
- { 0x28006f, 0x28006d, 0x28006c },
- { 0x3050200, 0x30b0300, 0x30e0600 },
- { 0x2002312, 0x3002312, 0x6002312 },
+ { 0x28006f, 0x28006d, 0x28006c },
+ { 0x3050200, 0x30b0300, 0x30e0600 },
+ { 0x2, 0x3, 0x6 },
- 0x67008f, 0x26f029a, 0x230270, 0x1a100040,
- { 0x4f, 0x05 }
+ 0x67008f, 0x26f029a, 0x230270, 0x1a100040,
+ { 0x4f, 0x5 }
};
#if 0 /* not filled in yet */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov