diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-06-20 11:24:43 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-06-20 11:58:17 +0100 |
commit | 00a3adaf43640b9aaa84b8cb98c1f2f227686689 (patch) | |
tree | e4d214be86457bc0a24500cb796d50e83a88b350 /src/sna/sna.h | |
parent | b617f80ca5d386c1c248bab64276a9f283173a21 (diff) |
sna: Record all sprite planes reported by the kernel
In the following patches, we wish to expose them all to userspace. First
we have to enumerate them, and make sure they all behave as expected.
Based on a patch by Michael Hadley <michaelx.hadley@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r-- | src/sna/sna.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h index fdfefe17..033781e1 100644 --- a/src/sna/sna.h +++ b/src/sna/sna.h @@ -611,8 +611,8 @@ static inline void sna_present_vblank_handler(struct drm_event_vblank *event) { static inline void sna_present_cancel_flip(struct sna *sna) { } #endif -extern bool sna_crtc_set_sprite_rotation(xf86CrtcPtr crtc, uint32_t rotation); -extern uint32_t sna_crtc_to_sprite(xf86CrtcPtr crtc); +extern bool sna_crtc_set_sprite_rotation(xf86CrtcPtr crtc, unsigned idx, uint32_t rotation); +extern uint32_t sna_crtc_to_sprite(xf86CrtcPtr crtc, unsigned idx); extern bool sna_crtc_is_transformed(xf86CrtcPtr crtc); #define CRTC_VBLANK 0x3 |