summaryrefslogtreecommitdiff
path: root/shared-core/i915_drv.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-05-15 09:37:49 -0700
committerEric Anholt <eric@anholt.net>2008-05-15 11:59:58 -0700
commit3ab152da66f6c7bcc68a13efcf4a62800354f13b (patch)
tree75ae69821f5e543af65e950dce309407851506d1 /shared-core/i915_drv.h
parentaafafe507ba6d073bad25b74c808b73c428db67f (diff)
[gem] Rename the GTT LRU lists to active (executing) and inactive (idle).
Diffstat (limited to 'shared-core/i915_drv.h')
-rw-r--r--shared-core/i915_drv.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 78c5d3df..51c6bb59 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -248,9 +248,9 @@ typedef struct drm_i915_private {
* List of objects currently involved in rendering from the
* ringbuffer.
*/
- struct list_head execution_list;
+ struct list_head active_list;
/** LRU List of non-executing objects still in the GTT. */
- struct list_head gtt_lru;
+ struct list_head inactive_list;
} mm;
} drm_i915_private_t;
@@ -267,9 +267,9 @@ struct drm_i915_gem_object {
/** Current space allocated to this object in the GTT, if any. */
struct drm_memrange_node *gtt_space;
-
- /** This object's place on the GTT LRU list */
- struct list_head gtt_lru_entry;
+
+ /** This object's place on the active or inactive lists */
+ struct list_head list;
/** AGP memory structure for our GTT binding. */
DRM_AGP_MEM *agp_mem;