diff options
author | Dave Airlie <airlied@gmail.com> | 2012-06-12 10:26:34 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-06-12 15:09:05 +0100 |
commit | 3b9b64c7c9b5b0bfaafb97c9a9fe5849bbb412da (patch) | |
tree | 30249dd20eeefba76f7e42b4ab1d3933c1877621 /src/intel.h | |
parent | b6525702b9ffd21beb8ea6bb10a8ad5ce7f9de14 (diff) |
uxa: do copy fb at startup.
Copy the current framebuffer for smooth wayland->gdm handoff.
This has been hanging around in Fedora for too long now, and we've
dropped the feature a few times, and yes I know the Simpsons did it^W^W^W
SNA does it.
I've updated the code to have some of the better fixes from nouveau.
I've no idea who wrote this code either, krh or ajax. [ickle: The
earliest version I've found had krh's fingerprints on it, though it may
still have been a joint effort.]
Signed-off-by: Dave Airlie <airlied@redhat.com>
[ickle: improve error handling, only copy the fb during initial takeover]
Diffstat (limited to 'src/intel.h')
-rw-r--r-- | src/intel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel.h b/src/intel.h index 20d82826..caf07bb0 100644 --- a/src/intel.h +++ b/src/intel.h @@ -368,6 +368,7 @@ extern void intel_mode_fini(intel_screen_private *intel); extern int intel_get_pipe_from_crtc_id(drm_intel_bufmgr *bufmgr, xf86CrtcPtr crtc); extern int intel_crtc_id(xf86CrtcPtr crtc); extern int intel_output_dpms_status(xf86OutputPtr output); +extern void intel_copy_fb(ScrnInfoPtr scrn); enum DRI2FrameEventType { DRI2_SWAP, |