[Bug 80913] [snb] Freeze with SMP support (stuck on render ring)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 4 06:53:42 PDT 2014


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

--- Comment #4 from Chris Wilson <chris at chris-wilson.co.uk> ---
Something to test:

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c
b/drivers/gpu/drm/i915/i915_gem_gtt.c
index ed4376e..d05d1b6 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -991,14 +991,17 @@ static void gen6_ppgtt_insert_entries(struct
i915_address_space *vm,
                                       cache_level, true, flags);

                if (++act_pte == I915_PPGTT_PT_ENTRIES) {
+                       drm_clflush_virt_range(pd_vaddr, PAGE_SIZE);
                        kunmap_atomic(pt_vaddr);
                        pt_vaddr = NULL;
                        act_pt++;
                        act_pte = 0;
                }
        }
-       if (pt_vaddr)
+       if (pt_vaddr) {
+               drm_clflush_virt_range(pd_vaddr, PAGE_SIZE);
                kunmap_atomic(pt_vaddr);
+       }
 }

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


More information about the intel-gfx-bugs mailing list