summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 94cb4eee..ec432b2a 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -843,6 +843,17 @@ typedef struct drm_agp_ttm_backend {
} drm_agp_ttm_backend_t;
#endif
+#define ATI_PCIGART_FLAG_VMALLOC 1
+struct ati_pcigart_memory {
+ size_t page_count;
+ unsigned long *memory;
+ int flags;
+};
+
+typedef struct ati_pcigart_ttm_priv {
+ int populated;
+ struct ati_pcigart_memory *mem;
+} ati_pcigart_ttm_priv;
static __inline__ int drm_core_check_feature(struct drm_device *dev,
int feature)