diff options
Diffstat (limited to 'drivers/video/savage/savagefb.h')
-rw-r--r-- | drivers/video/savage/savagefb.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/drivers/video/savage/savagefb.h b/drivers/video/savage/savagefb.h index 8594b1e42d71..d6f94742c9f2 100644 --- a/drivers/video/savage/savagefb.h +++ b/drivers/video/savage/savagefb.h | |||
@@ -60,6 +60,7 @@ | |||
60 | 60 | ||
61 | #define S3_SAVAGE_SERIES(chip) ((chip>=S3_SAVAGE3D) && (chip<=S3_SAVAGE2000)) | 61 | #define S3_SAVAGE_SERIES(chip) ((chip>=S3_SAVAGE3D) && (chip<=S3_SAVAGE2000)) |
62 | 62 | ||
63 | #define S3_MOBILE_TWISTER_SERIES(chip) ((chip==S3_TWISTER) || (chip == S3_PROSAVAGEDDR)) | ||
63 | 64 | ||
64 | /* Chip tags. These are used to group the adapters into | 65 | /* Chip tags. These are used to group the adapters into |
65 | * related families. | 66 | * related families. |
@@ -73,6 +74,8 @@ typedef enum { | |||
73 | S3_PROSAVAGE, | 74 | S3_PROSAVAGE, |
74 | S3_SUPERSAVAGE, | 75 | S3_SUPERSAVAGE, |
75 | S3_SAVAGE2000, | 76 | S3_SAVAGE2000, |
77 | S3_PROSAVAGEDDR, | ||
78 | S3_TWISTER, | ||
76 | S3_LAST | 79 | S3_LAST |
77 | } savage_chipset; | 80 | } savage_chipset; |
78 | 81 | ||
@@ -128,6 +131,10 @@ typedef enum { | |||
128 | #define BCI_CMD_SET_ROP(cmd, rop) ((cmd) |= ((rop & 0xFF) << 16)) | 131 | #define BCI_CMD_SET_ROP(cmd, rop) ((cmd) |= ((rop & 0xFF) << 16)) |
129 | #define BCI_CMD_SEND_COLOR 0x00008000 | 132 | #define BCI_CMD_SEND_COLOR 0x00008000 |
130 | 133 | ||
134 | #define DISP_CRT 1 | ||
135 | #define DISP_LCD 2 | ||
136 | #define DISP_DFP 3 | ||
137 | |||
131 | struct xtimings { | 138 | struct xtimings { |
132 | unsigned int Clock; | 139 | unsigned int Clock; |
133 | unsigned int HDisplay; | 140 | unsigned int HDisplay; |
@@ -166,6 +173,10 @@ struct savagefb_par { | |||
166 | struct savagefb_i2c_chan chan; | 173 | struct savagefb_i2c_chan chan; |
167 | unsigned char *edid; | 174 | unsigned char *edid; |
168 | u32 pseudo_palette[16]; | 175 | u32 pseudo_palette[16]; |
176 | int pm_state; | ||
177 | int display_type; | ||
178 | int dvi; | ||
179 | int crtonly; | ||
169 | int dacSpeedBpp; | 180 | int dacSpeedBpp; |
170 | int maxClock; | 181 | int maxClock; |
171 | int minClock; | 182 | int minClock; |
@@ -338,7 +349,7 @@ do { \ | |||
338 | } \ | 349 | } \ |
339 | } | 350 | } |
340 | 351 | ||
341 | extern int savagefb_probe_i2c_connector(struct savagefb_par *par, | 352 | extern int savagefb_probe_i2c_connector(struct fb_info *info, |
342 | u8 **out_edid); | 353 | u8 **out_edid); |
343 | extern void savagefb_create_i2c_busses(struct fb_info *info); | 354 | extern void savagefb_create_i2c_busses(struct fb_info *info); |
344 | extern void savagefb_delete_i2c_busses(struct fb_info *info); | 355 | extern void savagefb_delete_i2c_busses(struct fb_info *info); |