Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / video / fbdev / matrox / matroxfb_crtc2.h
blob23e90e21090566ee4ae44924c036546ceafcdbf0
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __MATROXFB_CRTC2_H__
3 #define __MATROXFB_CRTC2_H__
5 #include <linux/ioctl.h>
6 #include "matroxfb_base.h"
8 struct matroxfb_dh_fb_info {
9 struct fb_info fbcon;
10 int fbcon_registered;
11 int initialized;
13 struct matrox_fb_info* primary_dev;
15 struct {
16 unsigned long base; /* physical */
17 vaddr_t vbase; /* virtual */
18 unsigned int len;
19 unsigned int len_usable;
20 unsigned int len_maximum;
21 unsigned int offbase;
22 unsigned int borrowed;
23 } video;
24 struct {
25 unsigned long base;
26 vaddr_t vbase;
27 unsigned int len;
28 } mmio;
30 unsigned int interlaced:1;
32 u_int32_t cmap[16];
35 #endif /* __MATROXFB_CRTC2_H__ */