drm/nouveau/pwr/fuc: Fix thinko in nouveau_memx_wait()
authorRoy Spliet <rspliet@eclipso.eu>
Thu, 2 Oct 2014 16:01:58 +0000 (18:01 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 2 Dec 2014 05:43:56 +0000 (15:43 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/pwr/memx.c

index f6ce39d598a019f271f1e8eb76287fe2cfd28c12..7a9299d7159f5a4fa8d1494f01e0c7c6a4ae7c6f 100644 (file)
@@ -107,7 +107,7 @@ nouveau_memx_wait(struct nouveau_memx *memx,
 {
        nv_debug(memx->ppwr, "R[%06x] & 0x%08x == 0x%08x, %d us\n",
                                addr, mask, data, nsec);
-       memx_cmd(memx, MEMX_WAIT, 4, (u32[]){ addr, ~mask, data, nsec });
+       memx_cmd(memx, MEMX_WAIT, 4, (u32[]){ addr, mask, data, nsec });
        memx_out(memx); /* fuc can't handle multiple */
 }