#include <linux/agp_backend.h>
#include <linux/fb.h>
Go to the source code of this file.
|
| #define | INTELFB_VERSION "0.9.6" |
| |
| #define | INTELFB_MODULE_NAME "intelfb" |
| |
| #define | SUPPORTED_CHIPSETS "830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM/945GME/965G/965GM" |
| |
| #define | DEBUG 0 |
| |
| #define | VERBOSE 0 |
| |
| #define | REGDUMP 0 |
| |
| #define | DETECT_VGA_CLASS_ONLY 1 |
| |
| #define | ALLOCATE_FOR_PANNING 1 |
| |
| #define | PREFERRED_MODE "1024x768-32@70" |
| |
| #define | INTELFB_FB_ACQUIRED 1 |
| |
| #define | INTELFB_MMIO_ACQUIRED 2 |
| |
| #define | PCI_DEVICE_ID_INTEL_830M 0x3577 |
| |
| #define | PCI_DEVICE_ID_INTEL_845G 0x2562 |
| |
| #define | PCI_DEVICE_ID_INTEL_85XGM 0x3582 |
| |
| #define | PCI_DEVICE_ID_INTEL_854 0x358E |
| |
| #define | PCI_DEVICE_ID_INTEL_865G 0x2572 |
| |
| #define | PCI_DEVICE_ID_INTEL_915G 0x2582 |
| |
| #define | PCI_DEVICE_ID_INTEL_915GM 0x2592 |
| |
| #define | PCI_DEVICE_ID_INTEL_945G 0x2772 |
| |
| #define | PCI_DEVICE_ID_INTEL_945GM 0x27A2 |
| |
| #define | PCI_DEVICE_ID_INTEL_945GME 0x27AE |
| |
| #define | PCI_DEVICE_ID_INTEL_965G 0x29A2 |
| |
| #define | PCI_DEVICE_ID_INTEL_965GM 0x2A02 |
| |
| #define | INTEL_REG_SIZE 0x80000 |
| |
| #define | STRIDE_ALIGNMENT 16 |
| |
| #define | STRIDE_ALIGNMENT_I9XX 64 |
| |
| #define | PALETTE_8_ENTRIES 256 |
| |
| #define | KB(x) ((x) * 1024) |
| |
| #define | MB(x) ((x) * 1024 * 1024) |
| |
| #define | BtoKB(x) ((x) / 1024) |
| |
| #define | BtoMB(x) ((x) / 1024 / 1024) |
| |
| #define | GTT_PAGE_SIZE KB(4) |
| |
| #define | ROUND_UP_TO(x, y) (((x) + (y) - 1) / (y) * (y)) |
| |
| #define | ROUND_DOWN_TO(x, y) ((x) / (y) * (y)) |
| |
| #define | ROUND_UP_TO_PAGE(x) ROUND_UP_TO((x), GTT_PAGE_SIZE) |
| |
| #define | ROUND_DOWN_TO_PAGE(x) ROUND_DOWN_TO((x), GTT_PAGE_SIZE) |
| |
| #define | PFX INTELFB_MODULE_NAME ": " |
| |
| #define | ERR_MSG(fmt, args...) printk(KERN_ERR PFX fmt, ## args) |
| |
| #define | WRN_MSG(fmt, args...) printk(KERN_WARNING PFX fmt, ## args) |
| |
| #define | NOT_MSG(fmt, args...) printk(KERN_NOTICE PFX fmt, ## args) |
| |
| #define | INF_MSG(fmt, args...) printk(KERN_INFO PFX fmt, ## args) |
| |
| #define | DBG_MSG(fmt, args...) while (0) printk(fmt, ## args) |
| |
| #define | GET_DINFO(info) (info)->par |
| |
| #define | ACCEL(d, i) |
| |
| #define | NOACCEL_CHIPSET(d) (0) |
| |
| #define | FIXED_MODE(d) ((d)->fixed_mode) |
| |
| #define | RINGBUFFER_SIZE KB(64) |
| |
| #define | HW_CURSOR_SIZE KB(4) |
| |
| #define | AGP_PHYSICAL_MEMORY 2 |
| |
| #define | MAX_OUTPUTS 6 |
| |
| #define | INTELFB_OUTPUT_UNUSED 0 |
| |
| #define | INTELFB_OUTPUT_ANALOG 1 |
| |
| #define | INTELFB_OUTPUT_DVO 2 |
| |
| #define | INTELFB_OUTPUT_SDVO 3 |
| |
| #define | INTELFB_OUTPUT_LVDS 4 |
| |
| #define | INTELFB_OUTPUT_TVOUT 5 |
| |
| #define | INTELFB_DVO_CHIP_NONE 0 |
| |
| #define | INTELFB_DVO_CHIP_LVDS 1 |
| |
| #define | INTELFB_DVO_CHIP_TMDS 2 |
| |
| #define | INTELFB_DVO_CHIP_TVOUT 4 |
| |
| #define | INTELFB_OUTPUT_PIPE_NC 0 |
| |
| #define | INTELFB_OUTPUT_PIPE_A 1 |
| |
| #define | INTELFB_OUTPUT_PIPE_B 2 |
| |
| #define | IS_I9XX(dinfo) |
| |
|
| enum | intel_chips {
INTEL_830M,
INTEL_845G,
INTEL_85XGM,
INTEL_852GM,
INTEL_852GME,
INTEL_854,
INTEL_855GM,
INTEL_855GME,
INTEL_865G,
INTEL_915G,
INTEL_915GM,
INTEL_945G,
INTEL_945GM,
INTEL_945GME,
INTEL_965G,
INTEL_965GM
} |
| |
| #define AGP_PHYSICAL_MEMORY 2 |
| #define ALLOCATE_FOR_PANNING 1 |
| #define BtoKB |
( |
|
x | ) |
((x) / 1024) |
| #define BtoMB |
( |
|
x | ) |
((x) / 1024 / 1024) |
| #define DETECT_VGA_CLASS_ONLY 1 |
| #define FIXED_MODE |
( |
|
d | ) |
((d)->fixed_mode) |
| #define GTT_PAGE_SIZE KB(4) |
| #define HW_CURSOR_SIZE KB(4) |
| #define INTEL_REG_SIZE 0x80000 |
| #define INTELFB_DVO_CHIP_LVDS 1 |
| #define INTELFB_DVO_CHIP_NONE 0 |
| #define INTELFB_DVO_CHIP_TMDS 2 |
| #define INTELFB_DVO_CHIP_TVOUT 4 |
| #define INTELFB_FB_ACQUIRED 1 |
| #define INTELFB_MMIO_ACQUIRED 2 |
| #define INTELFB_MODULE_NAME "intelfb" |
| #define INTELFB_OUTPUT_ANALOG 1 |
| #define INTELFB_OUTPUT_DVO 2 |
| #define INTELFB_OUTPUT_LVDS 4 |
| #define INTELFB_OUTPUT_PIPE_A 1 |
| #define INTELFB_OUTPUT_PIPE_B 2 |
| #define INTELFB_OUTPUT_PIPE_NC 0 |
| #define INTELFB_OUTPUT_SDVO 3 |
| #define INTELFB_OUTPUT_TVOUT 5 |
| #define INTELFB_OUTPUT_UNUSED 0 |
| #define INTELFB_VERSION "0.9.6" |
| #define KB |
( |
|
x | ) |
((x) * 1024) |
| #define MB |
( |
|
x | ) |
((x) * 1024 * 1024) |
| #define NOACCEL_CHIPSET |
( |
|
d | ) |
(0) |
| #define PALETTE_8_ENTRIES 256 |
| #define PCI_DEVICE_ID_INTEL_830M 0x3577 |
| #define PCI_DEVICE_ID_INTEL_845G 0x2562 |
| #define PCI_DEVICE_ID_INTEL_854 0x358E |
| #define PCI_DEVICE_ID_INTEL_85XGM 0x3582 |
| #define PCI_DEVICE_ID_INTEL_865G 0x2572 |
| #define PCI_DEVICE_ID_INTEL_915G 0x2582 |
| #define PCI_DEVICE_ID_INTEL_915GM 0x2592 |
| #define PCI_DEVICE_ID_INTEL_945G 0x2772 |
| #define PCI_DEVICE_ID_INTEL_945GM 0x27A2 |
| #define PCI_DEVICE_ID_INTEL_945GME 0x27AE |
| #define PCI_DEVICE_ID_INTEL_965G 0x29A2 |
| #define PCI_DEVICE_ID_INTEL_965GM 0x2A02 |
| #define PREFERRED_MODE "1024x768-32@70" |
| #define RINGBUFFER_SIZE KB(64) |
| #define ROUND_DOWN_TO |
( |
|
x, |
|
|
|
y |
|
) |
| ((x) / (y) * (y)) |
| #define ROUND_UP_TO |
( |
|
x, |
|
|
|
y |
|
) |
| (((x) + (y) - 1) / (y) * (y)) |
| #define STRIDE_ALIGNMENT 16 |
| #define STRIDE_ALIGNMENT_I9XX 64 |
| #define SUPPORTED_CHIPSETS "830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM/945GME/965G/965GM" |
- Enumerator:
| INTEL_830M |
|
| INTEL_845G |
|
| INTEL_85XGM |
|
| INTEL_852GM |
|
| INTEL_852GME |
|
| INTEL_854 |
|
| INTEL_855GM |
|
| INTEL_855GME |
|
| INTEL_865G |
|
| INTEL_915G |
|
| INTEL_915GM |
|
| INTEL_945G |
|
| INTEL_945GM |
|
| INTEL_945GME |
|
| INTEL_965G |
|
| INTEL_965GM |
|
Definition at line 152 of file intelfb.h.