[Bug 98579] [BDW] GEM_BUG_ON(view && !i915_vma_is_ggtt(vma))

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 3 18:33:15 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98579

--- Comment #1 from Chris Wilson <chris at chris-wilson.co.uk> ---
Whoops, wrote the test wrong:

Can you quickly test:

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c
b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 7a6a7454f321..dd6df1af25a1 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -3425,7 +3425,7 @@ static inline long vma_compare(struct i915_vma *vma,
                               struct i915_address_space *vm,
                               const struct i915_ggtt_view *view)
 {
-       GEM_BUG_ON(view && !i915_vma_is_ggtt(vma));
+       GEM_BUG_ON(view && !i915_is_ggtt(vm));

        if (vma->vm != vm)
                return vma->vm - v

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20161103/b5391204/attachment.html>


More information about the intel-gfx-bugs mailing list