drm/nva3/copy: fix typo in fuc which caused host to not recieve exceptions
authorBen Skeggs <bskeggs@redhat.com>
Sat, 5 Nov 2011 02:08:05 +0000 (12:08 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 21 Dec 2011 09:01:30 +0000 (19:01 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nva3_copy.fuc
drivers/gpu/drm/nouveau/nva3_copy.fuc.h
drivers/gpu/drm/nouveau/nvc0_copy.fuc.h

index 0cec534..abc3662 100644 (file)
@@ -150,7 +150,7 @@ main:
    mov $r1 0x400
    movw $r2 0xfff3
    sethi $r2 0
-   iowr I[$r2 + 0x300] $r2
+   iowr I[$r1 + 0x300] $r2
 
    // enable interrupts
    or $r2 0xc
index 2731de2..1f33fbd 100644 (file)
@@ -152,7 +152,7 @@ uint32_t nva3_pcopy_code[] = {
        0xf10010fe,
        0xf1040017,
        0xf0fff327,
-       0x22d00023,
+       0x12d00023,
        0x0c25f0c0,
        0xf40012d0,
        0x17f11031,
index 4199038..a8d1745 100644 (file)
@@ -145,7 +145,7 @@ uint32_t nvc0_pcopy_code[] = {
        0xf10010fe,
        0xf1040017,
        0xf0fff327,
-       0x22d00023,
+       0x12d00023,
        0x0c25f0c0,
        0xf40012d0,
        0x17f11031,