OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6398325
)
nouveau: Survive PFIFO_CACHE_ERROR.
author
Ben Skeggs
<skeggsb@gmail.com>
Tue, 16 Oct 2007 02:32:03 +0000
(13:32 +1100)
committer
Ben Skeggs
<skeggsb@gmail.com>
Tue, 16 Oct 2007 02:32:03 +0000
(13:32 +1100)
shared-core/nouveau_irq.c
patch
|
blob
|
history
diff --git
a/shared-core/nouveau_irq.c
b/shared-core/nouveau_irq.c
index
5a696d5
..
ea93c3f
100644
(file)
--- a/
shared-core/nouveau_irq.c
+++ b/
shared-core/nouveau_irq.c
@@
-92,6
+92,9
@@
static void nouveau_fifo_irq_handler(struct drm_device *dev)
"Ch %d/%d Mthd 0x%04x Data 0x%08x\n",
chid, (mthd >> 13) & 7, mthd & 0x1ffc, data);
+ NV_WRITE(NV03_PFIFO_CACHE1_GET, get + 4);
+ NV_WRITE(NV04_PFIFO_CACHE1_PULL0, 1);
+
status &= ~NV_PFIFO_INTR_CACHE_ERROR;
NV_WRITE(NV03_PFIFO_INTR_0, NV_PFIFO_INTR_CACHE_ERROR);
}