Message ID | 20100319162148.GA20084@pli1.bj.intel.com (mailing list archive) |
---|---|
State | Deferred, archived |
Headers | show |
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index ae200ca..0172a2e 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -1464,6 +1464,7 @@ Bool drmmode_pre_init(ScrnInfoPtr scrn, int fd, int cpp) xf86DrvMsg(scrn->scrnIndex, X_INFO, "Kernel page flipping support detected, enabling\n"); intel->use_pageflipping = TRUE; + drmmode->flip_count = 0; drmmode->event_context.version = DRM_EVENT_CONTEXT_VERSION; drmmode->event_context.vblank_handler = drmmode_vblank_handler; drmmode->event_context.page_flip_handler =