[RFC 4/5] modesetting: Initialize ms_drm_seq to 0.

Kenneth Graunke kenneth at whitecape.org
Thu Jan 29 01:51:09 PST 2015


Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 hw/xfree86/drivers/modesetting/vblank.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/xfree86/drivers/modesetting/vblank.c b/hw/xfree86/drivers/modesetting/vblank.c
index 776dcef..e680ce6 100644
--- a/hw/xfree86/drivers/modesetting/vblank.c
+++ b/hw/xfree86/drivers/modesetting/vblank.c
@@ -388,6 +388,7 @@ ms_vblank_screen_init(ScreenPtr screen)
     modesettingPtr ms = modesettingPTR(scrn);
 
     xorg_list_init(&ms_drm_queue);
+    ms_drm_seq = 0;
 
     ms->event_context.version = DRM_EVENT_CONTEXT_VERSION;
     ms->event_context.vblank_handler = ms_drm_handler;
-- 
2.2.2



More information about the xorg-devel mailing list