3 #include <linux/ioctl.h>
4 #include <linux/types.h>
6 #define DISPTYPE_CRT1 0x00000008L
7 #define DISPTYPE_CRT2 0x00000004L
8 #define DISPTYPE_LCD 0x00000002L
9 #define DISPTYPE_TV 0x00000001L
10 #define DISPTYPE_DISP2 (DISPTYPE_CRT2 | DISPTYPE_LCD | DISPTYPE_TV)
11 #define DISPMODE_SINGLE 0x00000020L
12 #define DISPMODE_MIRROR 0x00000010L
14 #define HASVB_NONE 0x00
15 #define HASVB_301 0x01
16 #define HASVB_LVDS 0x02
17 #define HASVB_TRUMPION 0x04
18 #define HASVB_LVDS_CHRONTEL 0x10
19 #define HASVB_302 0x20
20 #define HASVB_CHRONTEL 0x80
36 TVTYPE_PALM
, /* vicki@030226 */
37 TVTYPE_PALN
, /* vicki@030226 */
38 TVTYPE_NTSCJ
, /* vicki@030226 */
42 enum xgi_tv_plug
{ /* vicki@030226 */
46 TVPLUG_COMPOSITE_AND_SVIDEO
= 3,
48 TVPLUG_YPBPR_525i
= 5,
49 TVPLUG_YPBPR_525P
= 6,
50 TVPLUG_YPBPR_750P
= 7,
51 TVPLUG_YPBPR_1080i
= 8,
57 unsigned int video_size
;
58 unsigned long video_base
;
59 void __iomem
*video_vbase
;
60 unsigned long mmio_base
;
61 unsigned long mmio_size
;
62 void __iomem
*mmio_vbase
;
63 unsigned long vga_base
;
75 unsigned int refresh_rate
;
77 unsigned long disp_state
;
79 unsigned char TV_type
;
80 unsigned char TV_plug
;
82 enum XGI_CHIP_TYPE chip
;
83 unsigned char revision_id
;
85 unsigned short DstColor
;
86 unsigned long XGI310_AccelDepth
;
87 unsigned long CommandReg
;
93 unsigned short subsysvendor
;
94 unsigned short subsysdevice
;
100 extern struct video_info xgi_video_info
;