drm/nouveau/fb: default NvMemExec to on, turning it off is used for debugging only
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 18 May 2014 05:04:15 +0000 (01:04 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 10 Jun 2014 06:05:51 +0000 (16:05 +1000)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/fb/ramnv50.c
drivers/gpu/drm/nouveau/core/subdev/fb/ramnva3.c
drivers/gpu/drm/nouveau/core/subdev/fb/ramnvc0.c
drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c

index ef91b6e893afc4c4ca488453ea9f19ced5fa5861..e5d12c24cc43e132df49142ba23256c7e99599f5 100644 (file)
@@ -211,7 +211,7 @@ nv50_ram_prog(struct nouveau_fb *pfb)
        struct nv50_ram *ram = (void *)pfb->ram;
        struct nv50_ramseq *hwsq = &ram->hwsq;
 
-       ram_exec(hwsq, nouveau_boolopt(device->cfgopt, "NvMemExec", false));
+       ram_exec(hwsq, nouveau_boolopt(device->cfgopt, "NvMemExec", true));
        return 0;
 }
 
index 6eb97f16fbda97f40b1c0a9efbed47aacf030104..8076fb195dd514569466ae95d1ee12ef929ffab9 100644 (file)
@@ -309,7 +309,7 @@ nva3_ram_prog(struct nouveau_fb *pfb)
        struct nouveau_device *device = nv_device(pfb);
        struct nva3_ram *ram = (void *)pfb->ram;
        struct nva3_ramfuc *fuc = &ram->fuc;
-       ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", false));
+       ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", true));
        return 0;
 }
 
index 8edc92224c84a2ce31b3c5115ff0f31f7c37e0e4..5a6a5027f749f4b20cfd2cfc737be3d719e191ab 100644 (file)
@@ -408,7 +408,7 @@ nvc0_ram_prog(struct nouveau_fb *pfb)
        struct nouveau_device *device = nv_device(pfb);
        struct nvc0_ram *ram = (void *)pfb->ram;
        struct nvc0_ramfuc *fuc = &ram->fuc;
-       ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", false));
+       ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", true));
        return 0;
 }
 
index 16752192cf87acbb5e77a904fb3474e7f2de46d6..84c7efbc4f38bc1e72ca9530bdfb966ecd0805b3 100644 (file)
@@ -1111,7 +1111,7 @@ nve0_ram_prog(struct nouveau_fb *pfb)
        struct nouveau_device *device = nv_device(pfb);
        struct nve0_ram *ram = (void *)pfb->ram;
        struct nve0_ramfuc *fuc = &ram->fuc;
-       ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", false));
+       ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", true));
        return (ram->base.next == &ram->base.xition);
 }