diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-23 14:56:35 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-23 14:56:35 +0000 |
commit | 5fd1cfbd29da1d1c2b4394446a4cc1bbee453c59 (patch) | |
tree | 1c5777a867b80adca6bc38718ba7c640c8a6aadb /meta/packages/xorg-xserver/xserver-kdrive | |
parent | 073895b7dd941ec1db59413926c496fa65431e10 (diff) | |
download | poky-5fd1cfbd29da1d1c2b4394446a4cc1bbee453c59.tar.gz |
xserver-kdrive: added missing file
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4325 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/xorg-xserver/xserver-kdrive')
-rw-r--r-- | meta/packages/xorg-xserver/xserver-kdrive/extra-kmodes.patch | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/meta/packages/xorg-xserver/xserver-kdrive/extra-kmodes.patch b/meta/packages/xorg-xserver/xserver-kdrive/extra-kmodes.patch new file mode 100644 index 0000000000..14cf99055b --- /dev/null +++ b/meta/packages/xorg-xserver/xserver-kdrive/extra-kmodes.patch | |||
@@ -0,0 +1,83 @@ | |||
1 | Add some extra video modes and change the default to VGA. | ||
2 | |||
3 | --- | ||
4 | hw/kdrive/src/kmode.c | 41 +++++++++++++++++++++++++++++++++++++++-- | ||
5 | 1 file changed, 39 insertions(+), 2 deletions(-) | ||
6 | |||
7 | Index: xorg-server-1.3.0.0/hw/kdrive/src/kmode.c | ||
8 | =================================================================== | ||
9 | --- xorg-server-1.3.0.0.orig/hw/kdrive/src/kmode.c 2008-01-11 14:20:47.000000000 +0000 | ||
10 | +++ xorg-server-1.3.0.0/hw/kdrive/src/kmode.c 2008-01-11 14:21:18.000000000 +0000 | ||
11 | @@ -32,6 +32,31 @@ const KdMonitorTiming kdMonitorTimings[ | ||
12 | /* H V Hz KHz */ | ||
13 | /* FP BP BLANK POLARITY */ | ||
14 | |||
15 | + /* Treo 650 */ | ||
16 | + | ||
17 | + { 320, 320, 64, 16256, | ||
18 | + 17, 12, 32, KdSyncNegative, | ||
19 | + 1, 11, 14, KdSyncNegative, | ||
20 | + }, | ||
21 | + | ||
22 | + { 320, 320, 64, 0, | ||
23 | + 0, 0, 0, KdSyncNegative, | ||
24 | + 0, 0, 0, KdSyncNegative, | ||
25 | + }, | ||
26 | + | ||
27 | + /* LifeDrive/T3/TX modes */ | ||
28 | + | ||
29 | + { 320, 480, 64, 16256, | ||
30 | + 17, 12, 32, KdSyncNegative, | ||
31 | + 1, 11, 14, KdSyncNegative, | ||
32 | + }, | ||
33 | + | ||
34 | + { 480, 320, 64, 0, | ||
35 | + 0, 0, 0, KdSyncNegative, | ||
36 | + 0, 0, 0, KdSyncNegative, | ||
37 | + }, | ||
38 | + | ||
39 | + | ||
40 | /* IPAQ modeline: | ||
41 | * | ||
42 | * Modeline "320x240" 5.7222 320 337 340 352 240 241 244 254" | ||
43 | @@ -41,6 +66,11 @@ const KdMonitorTiming kdMonitorTimings[ | ||
44 | 1, 11, 14, KdSyncNegative, | ||
45 | }, | ||
46 | |||
47 | + { 240, 320, 64, 0, | ||
48 | + 0, 0, 0, KdSyncNegative, | ||
49 | + 0, 0, 0, KdSyncNegative, | ||
50 | + }, | ||
51 | + | ||
52 | /* Other VESA modes */ | ||
53 | { 640, 350, 85, 31500, /* VESA */ | ||
54 | 32, 96, 192, KdSyncPositive, /* 26.413 */ | ||
55 | @@ -76,10 +106,19 @@ const KdMonitorTiming kdMonitorTimings[ | ||
56 | 16, 120, 176, KdSyncNegative, /* 37.861 */ | ||
57 | 1, 20, 24, KdSyncNegative, /* 72.809 */ | ||
58 | }, | ||
59 | + /* DEFAULT */ | ||
60 | +#define MONITOR_TIMING_DEFAULT 13 | ||
61 | { 640, 480, 60, 25175, /* VESA */ | ||
62 | 16, 48, 160, KdSyncNegative, /* 31.469 */ | ||
63 | 10, 33, 45, KdSyncNegative, /* 59.940 */ | ||
64 | }, | ||
65 | + | ||
66 | + | ||
67 | + { 480, 640, 60, 0, /* VESA */ | ||
68 | + 0, 0, 0, KdSyncNegative, /* 31.469 */ | ||
69 | + 0, 0, 0, KdSyncNegative, /* 59.940 */ | ||
70 | + }, | ||
71 | + | ||
72 | |||
73 | /* 800x600 modes */ | ||
74 | { 800, 600, 85, 56250, /* VESA */ | ||
75 | @@ -90,8 +129,6 @@ const KdMonitorTiming kdMonitorTimings[ | ||
76 | 16, 160, 256, KdSyncPositive, /* 46.875 */ | ||
77 | 1, 21, 25, KdSyncPositive, /* 75.000 */ | ||
78 | }, | ||
79 | - /* DEFAULT */ | ||
80 | -#define MONITOR_TIMING_DEFAULT 9 | ||
81 | { 800, 600, 72, 50000, /* VESA */ | ||
82 | 56, 64, 240, KdSyncPositive, /* 48.077 */ | ||
83 | 37, 23, 66, KdSyncPositive, /* 72.188 */ | ||