aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_gem_gtt.h
diff options
context:
space:
mode:
authorGravatar Chris Wilson <chris@chris-wilson.co.uk> 2016-02-26 11:03:19 +0000
committerGravatar Tvrtko Ursulin <tvrtko.ursulin@intel.com> 2016-02-26 13:15:39 +0000
commit1c7f4bca5a6f53c8aa5ecf52fc9f68194e44aede (patch)
treea569e68540b26c139f84c2af800cfa8ef358fc26 /drivers/gpu/drm/i915/i915_gem_gtt.h
parentdrm/i915: Balance assert_rpm_wakelock_held() for !IS_ENABLED(CONFIG_PM) (diff)
downloadlinux-1c7f4bca5a6f53c8aa5ecf52fc9f68194e44aede.tar.gz
linux-1c7f4bca5a6f53c8aa5ecf52fc9f68194e44aede.tar.bz2
linux-1c7f4bca5a6f53c8aa5ecf52fc9f68194e44aede.zip
drm/i915: Rename vma->*_list to *_link for consistency
Elsewhere we have adopted the convention of using '_link' to denote elements in the list (and '_list' for the actual list_head itself), and that the name should indicate which list the link belongs to (and preferrably not just where the link is being stored). s/vma_link/obj_link/ (we iterate over obj->vma_list) s/mm_list/vm_link/ (we iterate over vm->[in]active_list) Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_gtt.h')
-rw-r--r--drivers/gpu/drm/i915/i915_gem_gtt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.h b/drivers/gpu/drm/i915/i915_gem_gtt.h
index 368d111aa9c5..31eb0b261fbf 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.h
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.h
@@ -194,9 +194,9 @@ struct i915_vma {
struct i915_ggtt_view ggtt_view;
/** This object's place on the active/inactive lists */
- struct list_head mm_list;
+ struct list_head vm_link;
- struct list_head vma_link; /* Link in the object's VMA list */
+ struct list_head obj_link; /* Link in the object's VMA list */
/** This vma's place in the batchbuffer or on the eviction list */
struct list_head exec_list;