fb/ramgf100: disable memory reclocking by default
PATCH 1/2 fb/ramgf100: disable memory reclocking by default
Although memory reclocking seems to be completely broken on my GF119, we can at least allow users to enable reclocking for the core clock.
--- drm/nouveau/nvkm/subdev/fb/ramgf100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drm/nouveau/nvkm/subdev/fb/ramgf100.c +1 -1
@@ -409,7 +409,7 @@ gf100_ram_prog(struct nvkm_ram *base) {struct gf100_ram *ram =gf100_ram (base);struct nvkm_device *device = ram->base.fb->subdev.device; -ram_exec (&ram->fuc,nvkm_boolopt (device->cfgopt,"NvMemExec" , true)); +ram_exec (&ram->fuc,nvkm_boolopt (device->cfgopt,"NvMemExec" , false));return 0 ; }
Signature · 6 lines
2.5.3 _______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): 1443043254-12382-1-git-send-email-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
PATCH 2/2 clk/gf100: allow users to enable reclocking
Only the core clock is currently supported.
--- drm/nouveau/nvkm/subdev/clk/gf100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drm/nouveau/nvkm/subdev/clk/gf100.c +1 -1
@@ -462,5 +462,5 @@ gf100_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk)return -ENOMEM ; *pclk = &clk->base; -return nvkm_clk_ctor (&gf100_clk, device, index, false, &clk->base); +return nvkm_clk_ctor (&gf100_clk, device, index, true, &clk->base); }
Signature · 6 lines
2.5.3 _______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): 1443043254-12382-2-git-send-email-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Re: [PATCH 2/2] clk/gf100: allow users to enable reclocking
Quoted 12 lines · Samuel Pitoiset
Only the core clock is currently supported.
Signed-off-by Samuel Pitoiset <[email protected]>--- drm/nouveau/nvkm/subdev/clk/gf100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drm/nouveau/nvkm/subdev/clk/gf100.c +0
-0
drm/nouveau/nvkm/subdev/clk/gf100.c gf100_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) · line 466
Quoted 6 lines
drm/nouveau/nvkm/subdev/clk/gf100.c +1
-1@@ -462,5 +462,5 @@ gf100_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk)return -ENOMEM ; *pclk = &clk->base; -return nvkm_clk_ctor (&gf100_clk, device, index, false, &clk->base); +return nvkm_clk_ctor (&gf100_clk, device, index, true, &clk->base); }
What changed that suddenly made reclocking OK? You really need to prove it is and a few hours of testing are not enough ;)
Make sure that the clock tree is parsed correctly, then programmed correctly. Make sure that reclocking while the card is being used is also kind of stable, at least on your card.
After that, you may enable it and test on more Fermis. Until then, this patch is premature, at best.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCH 2/2] clk/gf100: allow users to enable reclocking
Quoted 22 lines · Martin Peres
Quoted 12 lines · Samuel Pitoiset
Only the core clock is currently supported.
Signed-off-by Samuel Pitoiset <[email protected]>--- drm/nouveau/nvkm/subdev/clk/gf100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drm/nouveau/nvkm/subdev/clk/gf100.c +0
-0drm/nouveau/nvkm/subdev/clk/gf100.c gf100_clk_new(struct nvkm_device *device, int · line 466
Quoted 7 lines
drm/nouveau/nvkm/subdev/clk/gf100.c +1
-0@@ -462,5 +462,5 @@ gf100_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk)return -ENOMEM ; *pclk = &clk->base; - return nvkm_clk_ctor(&gf100_clk, device, index, false, &clk->base); +return nvkm_clk_ctor (&gf100_clk, device, index, true, &clk->base); }What changed that suddenly made reclocking OK? You really need to prove it is and a few hours of testing are not enough ;)
Quoted 3 lines
Make sure that the clock tree is parsed correctly, then programmed correctly. Make sure that reclocking while the card is being used is also kind of stable, at least on your card.
After that, you may enable it and test on more Fermis. Until then, this patch is premature, at best.
Yeah, this is probably a kind of experimental feature for now, but even if I didn't check a lot, it seems to be stable (with heaven at least).
Anyways, I'll do more checks to prove that is going to work as expected.
Thanks for your feedbacks Martin.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau