summaryrefslogtreecommitdiff
path: root/src/r128_dri.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2004-12-04 22:34:54 +0000
committerDaniel Stone <daniel@fooishbar.org>2004-12-04 22:34:54 +0000
commit960d15ae3a44efe7c02a3d6d0acbabe63e07be74 (patch)
tree5741febc9a6bcfae725a85b52ca9fb8d277aaeaf /src/r128_dri.c
parent4706dfb7804a46e3cc5aafc3644f5a1134ab3d19 (diff)
Disable interrupt handling after the DRM handler has been removed,
preventing lockups (closes: #1886). Allow pitches with a granularity of 32, rather than 64, because some clamshell iBooks have 800-byte pitches. Change Xv allocation granularity to 8 bytes, rather than 16 bytes, also (closes: #1888).
Diffstat (limited to 'src/r128_dri.c')
-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 2b35c334..65bb5b94 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 */