Commit a2fa2973 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/fifo/nvc0: bash some magic reg to make uevent interrupt work

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 750087f1
...@@ -706,6 +706,7 @@ nvc0_fifo_init(struct nouveau_object *object) ...@@ -706,6 +706,7 @@ nvc0_fifo_init(struct nouveau_object *object)
nv_wr32(priv, 0x002a00, 0xffffffff); /* clears PFIFO.INTR bit 30 */ nv_wr32(priv, 0x002a00, 0xffffffff); /* clears PFIFO.INTR bit 30 */
nv_wr32(priv, 0x002100, 0xffffffff); nv_wr32(priv, 0x002100, 0xffffffff);
nv_wr32(priv, 0x002140, 0x3fffffff); nv_wr32(priv, 0x002140, 0x3fffffff);
nv_wr32(priv, 0x002628, 0x00000001); /* makes mthd 0x20 work */
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment