summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-11-12 11:22:53 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-11-12 11:22:53 +0000
commit34aa1e3b2702a55799a5655a3ba10bce4cc2065a (patch)
treea053cf39f083a65c36d1d66d5c8ad9e114678ab2 /src/sna/sna.h
parent8f1afde57dca27e6542b0b8e7c87750f3d6367bf (diff)
sna: Compile against ancient libdrm
We need to trim the sprite video overlays if the prototypes are not known. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h
index 45cfebe3..f1b3beb8 100644
--- a/src/sna/sna.h
+++ b/src/sna/sna.h
@@ -371,8 +371,8 @@ static inline void sna_dri_close(struct sna *sna, ScreenPtr pScreen) { }
void sna_dri_pixmap_update_bo(struct sna *sna, PixmapPtr pixmap);
extern int sna_crtc_to_pipe(xf86CrtcPtr crtc);
-extern int sna_crtc_to_plane(xf86CrtcPtr crtc);
-extern int sna_crtc_id(xf86CrtcPtr crtc);
+extern uint32_t sna_crtc_to_plane(xf86CrtcPtr crtc);
+extern uint32_t sna_crtc_id(xf86CrtcPtr crtc);
CARD32 sna_format_for_depth(int depth);
CARD32 sna_render_format_for_depth(int depth);