aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/agp.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2008-02-06 11:04:00 -0500
committerSteve French <sfrench@us.ibm.com>2008-02-06 11:04:00 -0500
commitf315ccb3e679f271583f2a4f463ad9b65665b751 (patch)
tree44eb52102587d7b0bb592464cef6ec04bcac8b90 /drivers/char/agp/agp.h
parentead03e30b050d6dda769e7e9b071c5fa720bf8d2 (diff)
parent551e4fb2465b87de9d4aa1669b27d624435443bb (diff)
Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/char/agp/agp.h')
-rw-r--r--drivers/char/agp/agp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h
index b83824c41329..c69f79598e47 100644
--- a/drivers/char/agp/agp.h
+++ b/drivers/char/agp/agp.h
@@ -117,7 +117,8 @@ struct agp_bridge_driver {
117 void (*free_by_type)(struct agp_memory *); 117 void (*free_by_type)(struct agp_memory *);
118 void *(*agp_alloc_page)(struct agp_bridge_data *); 118 void *(*agp_alloc_page)(struct agp_bridge_data *);
119 void (*agp_destroy_page)(void *, int flags); 119 void (*agp_destroy_page)(void *, int flags);
120 int (*agp_type_to_mask_type) (struct agp_bridge_data *, int); 120 int (*agp_type_to_mask_type) (struct agp_bridge_data *, int);
121 void (*chipset_flush)(struct agp_bridge_data *);
121}; 122};
122 123
123struct agp_bridge_data { 124struct agp_bridge_data {
@@ -235,6 +236,9 @@ struct agp_bridge_data {
235#define I965_PGETBL_SIZE_512KB (0 << 1) 236#define I965_PGETBL_SIZE_512KB (0 << 1)
236#define I965_PGETBL_SIZE_256KB (1 << 1) 237#define I965_PGETBL_SIZE_256KB (1 << 1)
237#define I965_PGETBL_SIZE_128KB (2 << 1) 238#define I965_PGETBL_SIZE_128KB (2 << 1)
239#define I965_PGETBL_SIZE_1MB (3 << 1)
240#define I965_PGETBL_SIZE_2MB (4 << 1)
241#define I965_PGETBL_SIZE_1_5MB (5 << 1)
238#define G33_PGETBL_SIZE_MASK (3 << 8) 242#define G33_PGETBL_SIZE_MASK (3 << 8)
239#define G33_PGETBL_SIZE_1M (1 << 8) 243#define G33_PGETBL_SIZE_1M (1 << 8)
240#define G33_PGETBL_SIZE_2M (2 << 8) 244#define G33_PGETBL_SIZE_2M (2 << 8)