drm/nv98/crypt: fix fuc build with latest envyas
authorBen Skeggs <bskeggs@redhat.com>
Wed, 3 Oct 2012 00:52:58 +0000 (10:52 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 3 Oct 2012 03:13:18 +0000 (13:13 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/crypt/fuc/nv98.fuc

index 7393813044de42c09cdbcb26cca2be5b9c24e7f6..629da02dc352ab091cdaa15c388fa137e4b8b629 100644 (file)
@@ -238,7 +238,7 @@ ih:
                        cmpu b32 $r4 0x60+#dma_count
                        bra nc #illegal_mthd
                        shl b32 $r5 $r4 2
-                       add b32 $r5 (#ctx_dma - 0x60 * 4) & 0xffff
+                       add b32 $r5 ((#ctx_dma - 0x60 * 4) & 0xffff)
                        bset $r3 0x1e
                        st b32 D[$r5] $r3
                        add b32 $r4 0x180 - 0x60