summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-05-20 12:07:50 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-05-20 22:19:35 +0100
commit61df0ffc0be8d934d86ac45c67da910479998cc7 (patch)
treef1ba3d773ab0f1e6c582bd80d0ed26710744b1bf /src/sna/sna.h
parent197ab0cda06c44aa1a2b17bf69ac08612811b107 (diff)
sna/dri2: Verify that the reference pipe is still active for flipping
We rely on the reference pipe to drive the event wake up. If we issue a deferred flip, there is a chance that the user could rearrange the screen on another crtc whilst otherwise preserving the screen geometry. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h
index 0c0508b1..8cfa98a9 100644
--- a/src/sna/sna.h
+++ b/src/sna/sna.h
@@ -483,6 +483,7 @@ extern bool sna_crtc_set_sprite_rotation(xf86CrtcPtr crtc, uint32_t rotation);
extern int sna_crtc_to_pipe(xf86CrtcPtr crtc);
extern uint32_t sna_crtc_to_sprite(xf86CrtcPtr crtc);
extern uint32_t sna_crtc_id(xf86CrtcPtr crtc);
+extern int sna_crtc_is_on(xf86CrtcPtr crtc);
CARD32 sna_format_for_depth(int depth);
CARD32 sna_render_format_for_depth(int depth);