[Bug 69837] [HSW bisected]Resume from S3 causes garbage on screen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 26 00:51:50 PDT 2013


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

--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> ---
diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c
b/drivers/gpu/drm/i915/i915_gem_gtt.c
index e763d48..f989b42 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -509,7 +509,7 @@ void i915_gem_restore_gtt_mappings(struct drm_device *dev)
                struct i915_vma *vma = i915_gem_obj_to_vma(obj,
                                                          
&dev_priv->gtt.base);
                i915_gem_clflush_object(obj, obj->pin_display);
-               vma->vm->bind_vma(vma, obj->cache_level, 0);
+               vma->vm->bind_vma(vma, obj->cache_level,
obj->has_global_gtt_mapping ? GLOBAL_BIND : 0);
        }

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


More information about the intel-gfx-bugs mailing list