[Bug 57434] [i915GM regression] black screen after blank when LID is closed on Linux >= 3.1

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 19 01:47:52 PST 2012


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

--- Comment #13 from Daniel Vetter <daniel at ffwll.ch> ---
Nice debug work! One small change request to test for your patch: Does it still
work if you move the call to i915_redisable_vga up into the force_restore
block, i.e.

    if (force_restore) {
        for_each_pipe(pipe) {
            crtc = to_intel_crtc(dev_priv->pipe_to_crtc_mapping[pipe]);
            intel_set_mode(&crtc->base, &crtc->base.mode,
                       crtc->base.x, crtc->base.y, crtc->base.fb);
        }

        i915_redisable_vga(dev);
    } else {
        intel_modeset_update_staged_output_state(dev);
    }

force_restore is already used to unbreak BIOS damage, so would fit in nicer.

Then please submit the final patch with

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

added to intel-gfx at lists.freedesktop.org, so that I can include it (you don't
have to be subscribed).

-- 
You are receiving this mail because:
You are the QA Contact 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/20121219/5ac93f3b/attachment.html>


More information about the intel-gfx-bugs mailing list