public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/i915: Place the Global GTT VM first in the list of VM
@ 2014-01-09 22:57 Chris Wilson
  2014-01-09 22:57 ` [PATCH 2/2] drm/i915: Print captured bo for all VM in error state Chris Wilson
  0 siblings, 1 reply; 9+ messages in thread
From: Chris Wilson @ 2014-01-09 22:57 UTC (permalink / raw)
  To: intel-gfx

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: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/i915_gem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 9df998817e05..698992703f00 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -4746,7 +4746,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
-- 
1.8.5.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-04-29 10:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-09 22:57 [PATCH 1/2] drm/i915: Place the Global GTT VM first in the list of VM Chris Wilson
2014-01-09 22:57 ` [PATCH 2/2] drm/i915: Print captured bo for all VM in error state Chris Wilson
2014-01-10 19:59   ` Ben Widawsky
2014-01-10 20:08     ` Chris Wilson
2014-01-24 20:13       ` Ben Widawsky
2014-01-25 19:10         ` Daniel Vetter
2014-04-29  1:10           ` Ben Widawsky
2014-04-29  8:33             ` Daniel Vetter
2014-04-29 10:50               ` Chris Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox