drm/nouveau/gr/gf100: write 0x400124 during init
authorBen Skeggs <bskeggs@redhat.com>
Tue, 8 May 2018 10:39:46 +0000 (20:39 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 18 May 2018 05:01:22 +0000 (15:01 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.c

index 7ad6ea0533a4922b2c55bf3488b37d42f9fe54ba..0c53d456ebbcd32e873133b004b1e3382ed1403f 100644 (file)
@@ -2008,6 +2008,7 @@ gf100_gr_init(struct gf100_gr *gr)
 
        nvkm_wr32(device, 0x400100, 0xffffffff);
        nvkm_wr32(device, 0x40013c, 0xffffffff);
+       nvkm_wr32(device, 0x400124, 0x00000002);
 
        nvkm_wr32(device, 0x409c24, 0x000f0000);
        nvkm_wr32(device, 0x404000, 0xc0000000);
index 3f19de24ef6995bd9cd80a59d256ce5e601bc6d7..703aed48f73799f9d882735dbe8800eaa9d13215 100644 (file)
@@ -434,6 +434,7 @@ gk104_gr_init(struct gf100_gr *gr)
 
        nvkm_wr32(device, 0x400100, 0xffffffff);
        nvkm_wr32(device, 0x40013c, 0xffffffff);
+       nvkm_wr32(device, 0x400124, 0x00000002);
 
        nvkm_wr32(device, 0x409ffc, 0x00000000);
        nvkm_wr32(device, 0x409c14, 0x00003e3e);