drm/nv50/gr: remove an unneeded write while initialising PGRAPH
authorPierre Moreau <pierre.morrow@free.fr>
Fri, 13 Jun 2014 00:34:30 +0000 (02:34 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 17 Jun 2014 04:41:40 +0000 (14:41 +1000)
The blob does not seem to write at that place for my NVAC, though it
does for my NV96, agreeing with what is done in the if/else structure
below. I guess someone forgot to remove the line when the if/else was
put in place.

Signed-off-by: Pierre Moreau <pierre.morrow@free.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/graph/nv50.c

index 5f34bd0df02f7c62de725e2a759e35cd0c412bdd..20665c21d80e2fc6c4b243882c2e246590f6492a 100644 (file)
@@ -976,7 +976,6 @@ nv50_graph_init(struct nouveau_object *object)
                break;
        case 0xa0:
        default:
-               nv_wr32(priv, 0x402cc0, 0x00000000);
                if (nv_device(priv)->chipset == 0xa0 ||
                    nv_device(priv)->chipset == 0xaa ||
                    nv_device(priv)->chipset == 0xac) {