drm/i915: mm_list is per VMA
[deliverable/linux.git] / drivers / gpu / drm / i915 / i915_drv.h
index cb4521d95429b5c735adc2954dfe69c5af2299ac..20becc5500bd8a3c3863d4b37e26ef1ec916c57d 100644 (file)
@@ -558,6 +558,9 @@ struct i915_vma {
        struct drm_i915_gem_object *obj;
        struct i915_address_space *vm;
 
+       /** This object's place on the active/inactive lists */
+       struct list_head mm_list;
+
        struct list_head vma_link; /* Link in the object's VMA list */
 };
 
@@ -1299,9 +1302,7 @@ struct drm_i915_gem_object {
        struct drm_mm_node *stolen;
        struct list_head global_list;
 
-       /** This object's place on the active/inactive lists */
        struct list_head ring_list;
-       struct list_head mm_list;
        /** This object's place in the batchbuffer or on the eviction list */
        struct list_head exec_list;
 
This page took 0.036307 seconds and 5 git commands to generate.