Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f72d21ed authored by Chris Wilson's avatar Chris Wilson Committed by Daniel Vetter
Browse files

drm/i915: Place the Global GTT VM first in the list of VM



This is useful for debugging as we then know that the first entry is
always the global GTT, and all later entries the per-process GTT VM.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarBen Widawsky <ben@bwidawsk.net>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent e9103038
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4577,7 +4577,7 @@ void i915_init_vm(struct drm_i915_private *dev_priv,
	INIT_LIST_HEAD(&vm->active_list);
	INIT_LIST_HEAD(&vm->inactive_list);
	INIT_LIST_HEAD(&vm->global_link);
	list_add(&vm->global_link, &dev_priv->vm_list);
	list_add_tail(&vm->global_link, &dev_priv->vm_list);
}

void