drm/gk104/fb/ram: fix register for second set of training data
authorBen Skeggs <bskeggs@redhat.com>
Mon, 1 Sep 2014 01:15:21 +0000 (11:15 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 15 Sep 2014 12:25:06 +0000 (22:25 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c

index e4fd0ba81275bb1e6e658d1beace8e5aaa16e9de..3e6987521cc5cb5ca817680fe91be41e75093fd2 100644 (file)
@@ -1213,7 +1213,7 @@ nve0_ram_init(struct nouveau_object *object)
 
                for (i = 0; i < 0x100; i++) {
                        nv_wr32(pfb, 0x10f96c, i);
-                       nv_wr32(pfb, 0x10f900, train1[2 + (i & 1)]);
+                       nv_wr32(pfb, 0x10f904, train1[2 + (i & 1)]);
                }
                break;
        default: