blob: 243043bb70bc17af85235b231de8ab328e33dc39 [file] [log] [blame]
#ifndef __GLINT_H__
#define __GLINT_H__
#include "glint_family.h"
#include "glint_mode.h"
struct glint_mc {
resource_size_t aper_size;
resource_size_t aper_base;
char __iomem *vram;
u32 vram_size;
};
struct glint_device {
struct device *dev;
struct drm_device *ddev;
struct pci_dev *pdev;
enum glint_family family;
unsigned long flags;
resource_size_t rmmio_base;
resource_size_t rmmio_size;
void __iomem *rmmio;
struct glint_mc mc;
struct glint_mode_info mode_info;
int num_crtc;
};
#endif /* __GLINT_H__ */