summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-05-01 14:20:44 -0700
committerEric Anholt <eric@anholt.net>2008-05-01 14:20:44 -0700
commit5af87acbc2025b9f72d51b30f176e9c3909695ac (patch)
tree814f963980772d5e3260b834412598cb2c3df90f /shared-core
parent2140e102f942edf7982cee2a3f00caf234551687 (diff)
checkpoint: gtt binding written.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_drv.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 7913f48b..431fc433 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -256,7 +256,19 @@ enum intel_chip_family {
/** driver private structure attached to each drm_gem_object */
struct drm_i915_gem_object {
- /** Current offset of the object in GTT space, if any. */
+ /** Current space allocated to this object in the GTT, if any. */
+ struct drm_memrange_node *gtt_space;
+
+ /** AGP memory structure for our GTT binding. */
+ DRM_AGP_MEM *agp_mem;
+
+ struct page **page_list;
+
+ /**
+ * Current offset of the object in GTT space.
+ *
+ * This is the same as gtt_space->start
+ */
uint32_t gtt_offset;
/** Boolean whether this object has a valid gtt offset. */