aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/matrox/matroxfb_crtc2.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/matrox/matroxfb_crtc2.h')
-rw-r--r--drivers/video/fbdev/matrox/matroxfb_crtc2.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/video/fbdev/matrox/matroxfb_crtc2.h b/drivers/video/fbdev/matrox/matroxfb_crtc2.h
new file mode 100644
index 000000000000..1005582e843e
--- /dev/null
+++ b/drivers/video/fbdev/matrox/matroxfb_crtc2.h
@@ -0,0 +1,34 @@
1#ifndef __MATROXFB_CRTC2_H__
2#define __MATROXFB_CRTC2_H__
3
4#include <linux/ioctl.h>
5#include "matroxfb_base.h"
6
7struct matroxfb_dh_fb_info {
8 struct fb_info fbcon;
9 int fbcon_registered;
10 int initialized;
11
12 struct matrox_fb_info* primary_dev;
13
14 struct {
15 unsigned long base; /* physical */
16 vaddr_t vbase; /* virtual */
17 unsigned int len;
18 unsigned int len_usable;
19 unsigned int len_maximum;
20 unsigned int offbase;
21 unsigned int borrowed;
22 } video;
23 struct {
24 unsigned long base;
25 vaddr_t vbase;
26 unsigned int len;
27 } mmio;
28
29 unsigned int interlaced:1;
30
31 u_int32_t cmap[16];
32};
33
34#endif /* __MATROXFB_CRTC2_H__ */