Summary: | [HSW bisected]Resume from S3 causes garbage on screen | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | cancan,feng <cancan.feng> | ||||||
Component: | DRM/Intel | Assignee: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> | ||||||
Severity: | major | ||||||||
Priority: | high | CC: | intel-gfx-bugs | ||||||
Version: | unspecified | ||||||||
Hardware: | Other | ||||||||
OS: | All | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
cancan,feng
2013-09-26 07:13:34 UTC
Created attachment 86620 [details]
picture of garbage on screen
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); } (In reply to comment #2) > 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); } It doesn't work.. *** This bug has been marked as a duplicate of bug 69834 *** Closing old verified. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.