All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] fb/ramgf100: disable memory reclocking by default
@ 2015-09-23 21:20 Samuel Pitoiset
       [not found] ` <1443043254-12382-1-git-send-email-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Pitoiset @ 2015-09-23 21:20 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Although memory reclocking seems to be completely broken on my GF119, we
can at least allow users to enable reclocking for the core clock.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
---
 drm/nouveau/nvkm/subdev/fb/ramgf100.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drm/nouveau/nvkm/subdev/fb/ramgf100.c b/drm/nouveau/nvkm/subdev/fb/ramgf100.c
index 772425c..a3219a2 100644
--- a/drm/nouveau/nvkm/subdev/fb/ramgf100.c
+++ b/drm/nouveau/nvkm/subdev/fb/ramgf100.c
@@ -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;
 }
 
-- 
2.5.3

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] clk/gf100: allow users to enable reclocking
       [not found] ` <1443043254-12382-1-git-send-email-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-09-23 21:20   ` Samuel Pitoiset
       [not found]     ` <1443043254-12382-2-git-send-email-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Pitoiset @ 2015-09-23 21:20 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Only the core clock is currently supported.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
---
 drm/nouveau/nvkm/subdev/clk/gf100.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drm/nouveau/nvkm/subdev/clk/gf100.c b/drm/nouveau/nvkm/subdev/clk/gf100.c
index a52b7e7..807305a 100644
--- a/drm/nouveau/nvkm/subdev/clk/gf100.c
+++ b/drm/nouveau/nvkm/subdev/clk/gf100.c
@@ -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);
 }
-- 
2.5.3

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] clk/gf100: allow users to enable reclocking
       [not found]     ` <1443043254-12382-2-git-send-email-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2015-09-23 22:00       ` Martin Peres
       [not found]         ` <56032118.1000808-GANU6spQydw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Peres @ 2015-09-23 22:00 UTC (permalink / raw)
  To: Samuel Pitoiset, nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On 24/09/15 00:20, Samuel Pitoiset wrote:
> Only the core clock is currently supported.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
> ---
>   drm/nouveau/nvkm/subdev/clk/gf100.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drm/nouveau/nvkm/subdev/clk/gf100.c b/drm/nouveau/nvkm/subdev/clk/gf100.c
> index a52b7e7..807305a 100644
> --- a/drm/nouveau/nvkm/subdev/clk/gf100.c
> +++ b/drm/nouveau/nvkm/subdev/clk/gf100.c
> @@ -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
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] clk/gf100: allow users to enable reclocking
       [not found]         ` <56032118.1000808-GANU6spQydw@public.gmane.org>
@ 2015-09-23 22:37           ` Samuel Pitoiset
  0 siblings, 0 replies; 4+ messages in thread
From: Samuel Pitoiset @ 2015-09-23 22:37 UTC (permalink / raw)
  To: Martin Peres, nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW



On 09/24/2015 12:00 AM, Martin Peres wrote:
> On 24/09/15 00:20, Samuel Pitoiset wrote:
>> Only the core clock is currently supported.
>>
>> Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
>> ---
>>   drm/nouveau/nvkm/subdev/clk/gf100.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drm/nouveau/nvkm/subdev/clk/gf100.c 
>> b/drm/nouveau/nvkm/subdev/clk/gf100.c
>> index a52b7e7..807305a 100644
>> --- a/drm/nouveau/nvkm/subdev/clk/gf100.c
>> +++ b/drm/nouveau/nvkm/subdev/clk/gf100.c
>> @@ -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.

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
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-23 22:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-23 21:20 [PATCH 1/2] fb/ramgf100: disable memory reclocking by default Samuel Pitoiset
     [not found] ` <1443043254-12382-1-git-send-email-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-09-23 21:20   ` [PATCH 2/2] clk/gf100: allow users to enable reclocking Samuel Pitoiset
     [not found]     ` <1443043254-12382-2-git-send-email-samuel.pitoiset-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-09-23 22:00       ` Martin Peres
     [not found]         ` <56032118.1000808-GANU6spQydw@public.gmane.org>
2015-09-23 22:37           ` Samuel Pitoiset

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.