summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2004-12-15 08:53:01 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2004-12-15 08:53:01 +0000
commite1aa00e35983953540d347e15db292489e0651c8 (patch)
tree14953a0b3066e778d3e29308138d64dba4b633fd
parentf45f665ec9b93e150d7249bf0128bce618afc8ae (diff)
//bugs.freedesktop.org/show_bug.cgi?id=1886) attachment #1327
(https://bugs.freedesktop.org/attachment.cgi?id=1327): Disable interrupt handling after the DRM handler has been removed, preventing lockups. Patch by Daniel Stone <daniel@freedesktop.org>
-rw-r--r--src/r128_dri.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/r128_dri.c b/src/r128_dri.c
index 2b35c33..65bb5b9 100644
--- a/src/r128_dri.c
+++ b/src/r128_dri.c
@@ -1297,6 +1297,7 @@ void R128DRICloseScreen(ScreenPtr pScreen)
if (info->irq) {
drmCtlUninstHandler(info->drmFD);
info->irq = 0;
+ info->gen_int_cntl = 0;
}
/* De-allocate vertex buffers */