[Bug 71908] [BYT Bisected]X will shown garbage after resume from S3

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 6 12:30:02 PST 2013


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

--- Comment #27 from Jesse Barnes <jbarnes at virtuousgeek.org> ---
I see the bug here too.  And this seems to work around the issue, but I don't
know why... are the GTT maps not set up properly at this point or something?

diff --git a/drivers/gpu/drm/i915/intel_fbdev.c
b/drivers/gpu/drm/i915/intel_fbd
index 284c3eb..695b574 100644
--- a/drivers/gpu/drm/i915/intel_fbdev.c
+++ b/drivers/gpu/drm/i915/intel_fbdev.c
@@ -322,7 +322,7 @@ void intel_fbdev_set_suspend(struct drm_device *dev, int
sta
         * been restored from swap. If the object is stolen however, it will be
         * full of whatever garbage was left in there.
         */
-       if (state == FBINFO_STATE_RUNNING && ifbdev->ifb.obj->stolen)
+       if (state == FBINFO_STATE_RUNNING && ifbdev->ifb.obj->stolen && 0)
                memset_io(info->screen_base, 0, info->screen_size);

        fb_set_suspend(info, state);

-- 
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/20131206/863cef70/attachment.html>


More information about the intel-gfx-bugs mailing list