summaryrefslogtreecommitdiff
path: root/shared-core/i915_drv.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-04-30 16:03:15 -0700
committerEric Anholt <eric@anholt.net>2008-04-30 16:03:15 -0700
commit1a8406795052e3ec49e400465f3211d04fd9dd86 (patch)
tree00493f2e364b02e2a70657ed6a5d1fd79e50e411 /shared-core/i915_drv.h
parent81ba8ded7e01b21e600069977e496017c8966d66 (diff)
Hacking towards hooking up execbuffer.
Diffstat (limited to 'shared-core/i915_drv.h')
-rw-r--r--shared-core/i915_drv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 412a2594..0c6ec588 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -241,6 +241,10 @@ typedef struct drm_i915_private {
u8 saveDACMASK;
u8 saveDACDATA[256*3]; /* 256 3-byte colors */
u8 saveCR[36];
+
+ struct {
+ struct drm_memrange gtt_space;
+ } mm;
} drm_i915_private_t;
enum intel_chip_family {
@@ -329,6 +333,11 @@ void i915_flush_ttm(struct drm_ttm *ttm);
/* i915_execbuf.c */
int i915_execbuffer(struct drm_device *dev, void *data,
struct drm_file *file_priv);
+/* i915_mm.c */
+int intel_mm_init_ioctl(struct drm_device *dev, void *data,
+ struct drm_file *file_priv);
+int intel_mm_execbuffer(struct drm_device *dev, void *data,
+ struct drm_file *file_priv);
#endif