summaryrefslogtreecommitdiff
path: root/nvkm
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-01-31 17:43:55 -0500
committerBen Skeggs <bskeggs@redhat.com>2013-02-20 15:55:26 +1000
commit59415894de90f9fe628d21bb6257f4208ba6b7b5 (patch)
tree9f8c60c10b00a8418c83c159352b70cfab1e3919 /nvkm
parentbbda51c5e4987e8162cb9fc13cc5ac1dc95e6ae7 (diff)
downloadnouveau-59415894de90f9fe628d21bb6257f4208ba6b7b5.tar.gz
fifo/nvc0: bash some magic reg to make uevent interrupt work
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm')
-rw-r--r--nvkm/engine/fifo/nvc0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nvkm/engine/fifo/nvc0.c b/nvkm/engine/fifo/nvc0.c
index bf86f40b8..4f226afb5 100644
--- a/nvkm/engine/fifo/nvc0.c
+++ b/nvkm/engine/fifo/nvc0.c
@@ -706,6 +706,7 @@ nvc0_fifo_init(struct nouveau_object *object)
nv_wr32(priv, 0x002a00, 0xffffffff); /* clears PFIFO.INTR bit 30 */
nv_wr32(priv, 0x002100, 0xffffffff);
nv_wr32(priv, 0x002140, 0x3fffffff);
+ nv_wr32(priv, 0x002628, 0x00000001); /* makes mthd 0x20 work */
return 0;
}