diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2014-05-18 01:04:15 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-06-10 02:05:51 -0400 |
commit | d2ed15b2314fc4954b5d4bc36d3230f7e73865a2 (patch) | |
tree | db4b3bd23457080aa395289b7137696af27c9340 | |
parent | 29ba8c8abf9729b0091eccf9f7044f6940d789d0 (diff) |
drm/nouveau/fb: default NvMemExec to on, turning it off is used for debugging only
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
4 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnv50.c b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnv50.c index ef91b6e893af..e5d12c24cc43 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnv50.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnv50.c | |||
@@ -211,7 +211,7 @@ nv50_ram_prog(struct nouveau_fb *pfb) | |||
211 | struct nv50_ram *ram = (void *)pfb->ram; | 211 | struct nv50_ram *ram = (void *)pfb->ram; |
212 | struct nv50_ramseq *hwsq = &ram->hwsq; | 212 | struct nv50_ramseq *hwsq = &ram->hwsq; |
213 | 213 | ||
214 | ram_exec(hwsq, nouveau_boolopt(device->cfgopt, "NvMemExec", false)); | 214 | ram_exec(hwsq, nouveau_boolopt(device->cfgopt, "NvMemExec", true)); |
215 | return 0; | 215 | return 0; |
216 | } | 216 | } |
217 | 217 | ||
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnva3.c b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnva3.c index 6eb97f16fbda..8076fb195dd5 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnva3.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnva3.c | |||
@@ -309,7 +309,7 @@ nva3_ram_prog(struct nouveau_fb *pfb) | |||
309 | struct nouveau_device *device = nv_device(pfb); | 309 | struct nouveau_device *device = nv_device(pfb); |
310 | struct nva3_ram *ram = (void *)pfb->ram; | 310 | struct nva3_ram *ram = (void *)pfb->ram; |
311 | struct nva3_ramfuc *fuc = &ram->fuc; | 311 | struct nva3_ramfuc *fuc = &ram->fuc; |
312 | ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", false)); | 312 | ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", true)); |
313 | return 0; | 313 | return 0; |
314 | } | 314 | } |
315 | 315 | ||
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnvc0.c b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnvc0.c index 8edc92224c84..5a6a5027f749 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnvc0.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnvc0.c | |||
@@ -408,7 +408,7 @@ nvc0_ram_prog(struct nouveau_fb *pfb) | |||
408 | struct nouveau_device *device = nv_device(pfb); | 408 | struct nouveau_device *device = nv_device(pfb); |
409 | struct nvc0_ram *ram = (void *)pfb->ram; | 409 | struct nvc0_ram *ram = (void *)pfb->ram; |
410 | struct nvc0_ramfuc *fuc = &ram->fuc; | 410 | struct nvc0_ramfuc *fuc = &ram->fuc; |
411 | ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", false)); | 411 | ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", true)); |
412 | return 0; | 412 | return 0; |
413 | } | 413 | } |
414 | 414 | ||
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c index 16752192cf87..84c7efbc4f38 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/ramnve0.c | |||
@@ -1111,7 +1111,7 @@ nve0_ram_prog(struct nouveau_fb *pfb) | |||
1111 | struct nouveau_device *device = nv_device(pfb); | 1111 | struct nouveau_device *device = nv_device(pfb); |
1112 | struct nve0_ram *ram = (void *)pfb->ram; | 1112 | struct nve0_ram *ram = (void *)pfb->ram; |
1113 | struct nve0_ramfuc *fuc = &ram->fuc; | 1113 | struct nve0_ramfuc *fuc = &ram->fuc; |
1114 | ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", false)); | 1114 | ram_exec(fuc, nouveau_boolopt(device->cfgopt, "NvMemExec", true)); |
1115 | return (ram->base.next == &ram->base.xition); | 1115 | return (ram->base.next == &ram->base.xition); |
1116 | } | 1116 | } |
1117 | 1117 | ||