From b9f10852fcb1f09369d931dcbfbaad89ad1da4ad Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Wed, 3 Oct 2012 10:52:58 +1000 Subject: [PATCH] drm/nv98/crypt: fix fuc build with latest envyas Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/core/engine/crypt/fuc/nv98.fuc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/core/engine/crypt/fuc/nv98.fuc b/drivers/gpu/drm/nouveau/core/engine/crypt/fuc/nv98.fuc index 7393813044de..629da02dc352 100644 --- a/drivers/gpu/drm/nouveau/core/engine/crypt/fuc/nv98.fuc +++ b/drivers/gpu/drm/nouveau/core/engine/crypt/fuc/nv98.fuc @@ -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 -- 2.30.2