blob: 1005582e843e5084cecd6d99175c8168e0e1a375 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __MATROXFB_CRTC2_H__
2#define __MATROXFB_CRTC2_H__
3
4#include <linux/ioctl.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005#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
Antonino A. Daplas08a498d2007-07-17 04:05:45 -070031 u_int32_t cmap[16];
Linus Torvalds1da177e2005-04-16 15:20:36 -070032};
33
34#endif /* __MATROXFB_CRTC2_H__ */