The cause of the EINVAL is an attempt to pageflip with the pipe disabled
due to DPMS off. This should be fixed by:

commit c4eb5528a456b65c673f7c984d14a622ac67cdca
Author: Chris Wilson <[email protected]>
Date:   Tue Jun 5 16:04:16 2012 +0100

    uxa: Check for DPMS off before scheduling a WAIT_ON_EVENT
    
    Regression from commit 3f3bde4f0c72f6f31aae322bcdc20b95eade6631
    Author: Chris Wilson <[email protected]>
    Date:   Thu May 24 11:58:46 2012 +0100
    
        uxa: Only consider an output valid if the kernel reports it attached
    
    When backporting from SNA, a key difference that UXA does not track DPMS
    state in its enabled flag and that a DPMS off CRTC is still bound to the
    fb. So we do need to rescan the outputs and check that we have a
    connector enabled *and* the pipe is running prior to emitting a scanline
    wait.
    
    References: https://bugs.freedesktop.org/show_bug.cgi?id=50668
    Signed-off-by: Chris Wilson <[email protected]>

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/966744

Title:
  [i965] Resume from suspend leaves me with black screen or a screen of
  the desktop before it suspended. Compiz hung in
  intel_update_renderbuffers() from intel_prepare_render() from
  brw_draw_prims()

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/966744/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~compiz
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~compiz
More help   : https://help.launchpad.net/ListHelp

Reply via email to