sna/present: Add missing "static inline" for disabled present stubs

Oops, copy'n'paste broke the non-Present build:

sna_trapezoids_boxes.c:(.text+0x0): multiple definition of
`sna_present_cancel_flip'

Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2016-03-24 11:38:35 +00:00
parent f6316fb6f0
commit c326ed192b
1 changed files with 1 additions and 1 deletions

View File

@ -605,7 +605,7 @@ static inline bool sna_present_open(struct sna *sna, ScreenPtr pScreen) { return
static inline void sna_present_update(struct sna *sna) { }
static inline void sna_present_close(struct sna *sna, ScreenPtr pScreen) { }
static inline void sna_present_vblank_handler(struct drm_event_vblank *event) { }
void sna_present_cancel_flip(struct sna *sna) { }
static inline void sna_present_cancel_flip(struct sna *sna) { }
#endif
extern bool sna_crtc_set_sprite_rotation(xf86CrtcPtr crtc, uint32_t rotation);