summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_dma.c4
-rw-r--r--shared-core/i915_drv.h10
2 files changed, 7 insertions, 7 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index cf2dfeb6..0e832057 100644
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
@@ -1051,8 +1051,8 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags)
ret = drm_addmap(dev, base, size, _DRM_REGISTERS,
_DRM_KERNEL | _DRM_DRIVER, &dev_priv->mmio_map);
- INIT_LIST_HEAD(&dev_priv->mm.gtt_lru);
- INIT_LIST_HEAD(&dev_priv->mm.execution_list);
+ INIT_LIST_HEAD(&dev_priv->mm.active_list);
+ INIT_LIST_HEAD(&dev_priv->mm.inactive_list);
#ifdef __linux__
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
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;