mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -04:00
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>
This commit is contained in:
@@ -211,7 +211,7 @@ nv50_ram_prog(struct nouveau_fb *pfb)
|
|||||||
struct nv50_ram *ram = (void *)pfb->ram;
|
struct nv50_ram *ram = (void *)pfb->ram;
|
||||||
struct nv50_ramseq *hwsq = &ram->hwsq;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -309,7 +309,7 @@ nva3_ram_prog(struct nouveau_fb *pfb)
|
|||||||
struct nouveau_device *device = nv_device(pfb);
|
struct nouveau_device *device = nv_device(pfb);
|
||||||
struct nva3_ram *ram = (void *)pfb->ram;
|
struct nva3_ram *ram = (void *)pfb->ram;
|
||||||
struct nva3_ramfuc *fuc = &ram->fuc;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -408,7 +408,7 @@ nvc0_ram_prog(struct nouveau_fb *pfb)
|
|||||||
struct nouveau_device *device = nv_device(pfb);
|
struct nouveau_device *device = nv_device(pfb);
|
||||||
struct nvc0_ram *ram = (void *)pfb->ram;
|
struct nvc0_ram *ram = (void *)pfb->ram;
|
||||||
struct nvc0_ramfuc *fuc = &ram->fuc;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1111,7 +1111,7 @@ nve0_ram_prog(struct nouveau_fb *pfb)
|
|||||||
struct nouveau_device *device = nv_device(pfb);
|
struct nouveau_device *device = nv_device(pfb);
|
||||||
struct nve0_ram *ram = (void *)pfb->ram;
|
struct nve0_ram *ram = (void *)pfb->ram;
|
||||||
struct nve0_ramfuc *fuc = &ram->fuc;
|
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);
|
return (ram->base.next == &ram->base.xition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user