diff options
author | Keith Packard <keithp@keithp.com> | 2014-09-10 09:35:38 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-09-12 13:49:23 -0700 |
commit | c2a834689142a1b9d8bbe48a6cdc0f5286d8b7e5 (patch) | |
tree | 36f1cdc2c49300929c31f5ec66d3a534757e7241 | |
parent | 7ed66ca0fd1160ede890c216c35d4ac42a98ab57 (diff) |
Do not clear pending kernel events on mode switch
Let the kernel send these back to us so that DIX hears about them in
the usual way.
Mode setting while Present has a flip active will trigger an unflip
before the mode is changed. The event from that unflip will not get
processed before the mode switch is executed. Clearing the driver
queue at mode switch time will discard the connection between the
kernel event and the present callback so that DIX will never know that
the flip pixmap is idle.
Signed-off-by: Keith Packard <keithp@keithp.com>
Tested-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r-- | src/uxa/intel_display.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/uxa/intel_display.c b/src/uxa/intel_display.c index 97af76d4..8c43ae92 100644 --- a/src/uxa/intel_display.c +++ b/src/uxa/intel_display.c @@ -71,9 +71,6 @@ struct intel_drm_queue { intel_drm_abort_proc abort; }; -static void -intel_drm_abort_scrn(ScrnInfoPtr scrn); - static uint32_t intel_drm_seq; static struct list intel_drm_queue; @@ -398,7 +395,6 @@ intel_crtc_apply(xf86CrtcPtr crtc) if (scrn->pScreen) xf86_reload_cursors(scrn->pScreen); - intel_drm_abort_scrn(scrn); done: free(output_ids); |