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 0cec534f03e963ea073bfdd44602501a68fb2aee..abc36626fef0d2b12e0145616dbc991182a7182e 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 2731de22ebe92c7b911fe960a276892134cb152a..1f33fbdc00be5801385ac51cb3a592f23a3e180b 100644 (file)
@@ -152,7 +152,7 @@ uint32_t nva3_pcopy_code[] = {
        0xf10010fe,
        0xf1040017,
        0xf0fff327,
-       0x22d00023,
+       0x12d00023,
        0x0c25f0c0,
        0xf40012d0,
        0x17f11031,
index 419903880e9d36f5627b731a2ec046b5f788d1cc..a8d17458ced1db88353cd1e0d4756d9b80535f3f 100644 (file)
@@ -145,7 +145,7 @@ uint32_t nvc0_pcopy_code[] = {
        0xf10010fe,
        0xf1040017,
        0xf0fff327,
-       0x22d00023,
+       0x12d00023,
        0x0c25f0c0,
        0xf40012d0,
        0x17f11031,