diff options
author | Thomas Hellström <thomas@tungstengraphics.com> | 2005-01-06 13:51:37 +0000 |
---|---|---|
committer | Thomas Hellström <thomas@tungstengraphics.com> | 2005-01-06 13:51:37 +0000 |
commit | 4c1d373ce17ad0831a986c9e88f65425e5dab4f4 (patch) | |
tree | a30296ffc0cd3d7b883745c3a3bec88d91b11309 /src/mesa/drivers/dri/unichrome/via_tris.c | |
parent | dd1ef7c0d78fdb2dd6587c87394680c6e8c79648 (diff) |
Small Unichrome fixes:
1. Unlock hardware before aborting and dumping DMA buffers. Otherwise display system may deadlock.
2. Fix DMA init IOCTL call that got mixed up in one of the previous commits.
3. Fix AGP command alignment
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_tris.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_tris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tris.c b/src/mesa/drivers/dri/unichrome/via_tris.c index 022399f698..6fd5a2a64c 100644 --- a/src/mesa/drivers/dri/unichrome/via_tris.c +++ b/src/mesa/drivers/dri/unichrome/via_tris.c @@ -987,7 +987,7 @@ void viaFinishPrimitive(viaContextPtr vmesa) /* KW: modified 0x1 to 0x4 below: */ - if ((vmesa->dmaLow & 0x1) || !vmesa->useAgp) { + if ((vmesa->dmaLow & 0x4) || !vmesa->useAgp) { BEGIN_RING_NOCHECK( 1 ); OUT_RING( cmdA ); ADVANCE_RING(); |