summaryrefslogtreecommitdiff
path: root/src/intel.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-25 10:15:39 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-25 10:15:39 +0100
commitef431b2d35c1bf4d77bbcc73688951d22f6aa135 (patch)
tree9190097f7cc33bd5687f70b97d2503450f4d2a20 /src/intel.h
parentefb8ff16491ecfb4d9c0c6a718684310d949d8d3 (diff)
uxa: Drain the DRM event queue before server regeneration
Adam Jackson notes that what appeared to be my paranoid ramblings in SNA actually served a purpose - it prevents a server crash following server regen if an indirect client happened to be running at the time (e.g. LIBGL_INDIRECT_ALWAYS=1 glxgears). Reported-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel.h')
-rw-r--r--src/intel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel.h b/src/intel.h
index a5603fee..d3947501 100644
--- a/src/intel.h
+++ b/src/intel.h
@@ -366,6 +366,7 @@ extern Bool intel_mode_pre_init(ScrnInfoPtr pScrn, int fd, int cpp);
extern void intel_mode_init(struct intel_screen_private *intel);
extern void intel_mode_disable_unused_functions(ScrnInfoPtr scrn);
extern void intel_mode_remove_fb(intel_screen_private *intel);
+extern void intel_mode_close(intel_screen_private *intel);
extern void intel_mode_fini(intel_screen_private *intel);
extern int intel_get_pipe_from_crtc_id(drm_intel_bufmgr *bufmgr, xf86CrtcPtr crtc);