[Bug 112068] [CI][BAT]igt at gem_persistent_relocs@forked-* - timeout - GEM_BUG_ON(i915_vma_is_active(vma))
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Oct 23 05:17:21 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=112068
--- Comment #5 from prathap.kumar.valsan at intel.com ---
Based on reading the code, it looks to me that there is a BUG in driver where
a single VMA is being added to the bound list more than once.
diff --git a/drivers/gpu/drm/i915/i915_vma.c b/drivers/gpu/drm/i915/i915_vma.c
index e90c4d0af8fd..dd930a3de013 100644
--- a/drivers/gpu/drm/i915/i915_vma.c
+++ b/drivers/gpu/drm/i915/i915_vma.c
@@ -921,7 +921,7 @@ int i915_vma_pin(struct i915_vma *vma, u64 size, u64
alignment, u64 flags)
/* There should only be at most 2 active bindings (user, global) */
GEM_BUG_ON(bound + I915_VMA_PAGES_ACTIVE < bound);
atomic_add(I915_VMA_PAGES_ACTIVE, &vma->pages_count);
- list_move_tail(&vma->vm_link, &vma->vm->bound_list);
+ list_del(&vma->vm_link);
__i915_vma_pin(vma);
GEM_BUG_ON(!i915_vma_is_pinned(vma));
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20191023/47cf6f45/attachment.html>
More information about the intel-gfx-bugs
mailing list