diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2015-02-10 16:54:07 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2015-02-11 22:29:37 +0000 |
commit | 8348927c37b0550ce666d1156b0860b15de2a35a (patch) | |
tree | 345cc17f5263f7712f5aa059745c300b32aa63fa /src/sna/sna.h | |
parent | 688f5e9bd7d3e1162db44ba341ac43e054aba237 (diff) |
sna/present: Handle fake RRCrtc
Be sure we don't crash if the user requests presenting on one of our
fake RRCrtcs.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index 1ff36f3d..d2c95ff4 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -587,6 +587,7 @@ static inline void sna_present_vblank_handler(struct drm_event_vblank *event) { extern bool sna_crtc_set_sprite_rotation(xf86CrtcPtr crtc, uint32_t rotation); extern int sna_crtc_to_pipe(xf86CrtcPtr crtc); +extern int sna_crtc_to_pipe__safe(xf86CrtcPtr crtc); extern uint32_t sna_crtc_to_sprite(xf86CrtcPtr crtc); extern uint32_t sna_crtc_id(xf86CrtcPtr crtc); extern bool sna_crtc_is_on(xf86CrtcPtr crtc); |