All of lore.kernel.org
 help / color / mirror / Atom feed
* pwr/macros: Stop playing Russian roulette on data memory
@ 2014-08-02 15:15 Roy Spliet
       [not found] ` <1406992501-23037-1-git-send-email-rspliet-pPYjZ15w/Xhulxpn9UvDqw@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Roy Spliet @ 2014-08-02 15:15 UTC (permalink / raw)
  To: Nouveau Mailinglist

This patch fixes the pwr firmware to play nicely at least on NVA3. Because Martin might send more patches soon, I didn't include a regenerated nvXX.fuc.h. To me it makes more sense if all patches are merged then, and a final patch regenerates the headers in one go. Of course, I did test this patch and found it to work as intended, so feel free to pick up as you please.

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

* [PATCH] pwr/macros: Stop playing Russian roulette on data memory
       [not found] ` <1406992501-23037-1-git-send-email-rspliet-pPYjZ15w/Xhulxpn9UvDqw@public.gmane.org>
@ 2014-08-02 15:15   ` Roy Spliet
  2014-08-04 23:26   ` Ben Skeggs
  1 sibling, 0 replies; 4+ messages in thread
From: Roy Spliet @ 2014-08-02 15:15 UTC (permalink / raw)
  To: Nouveau Mailinglist; +Cc: Roy Spliet

Signed-off-by: Roy Spliet <rspliet-pPYjZ15w/Xhulxpn9UvDqw@public.gmane.org>
---
 drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/macros.fuc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/macros.fuc b/drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/macros.fuc
index e2a63ac..5668e04 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/macros.fuc
+++ b/drivers/gpu/drm/nouveau/core/subdev/pwr/fuc/macros.fuc
@@ -242,7 +242,7 @@
 */	push reg /*
 */	pop $r13 /*
 */	pop $r14 /*
-*/	call(wr32) /*
+*/	call(wr32)
 #else
 #define nv_wr32(addr,reg) /*
 */ 	sethi $r0 0x14000000 /*
-- 
1.9.3

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

* Re: pwr/macros: Stop playing Russian roulette on data memory
       [not found] ` <1406992501-23037-1-git-send-email-rspliet-pPYjZ15w/Xhulxpn9UvDqw@public.gmane.org>
  2014-08-02 15:15   ` [PATCH] " Roy Spliet
@ 2014-08-04 23:26   ` Ben Skeggs
       [not found]     ` <CACAvsv6h00+26WK9=VcGokgVzN=e+3Z5DJR1r1--Q5JYFc4bjA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  1 sibling, 1 reply; 4+ messages in thread
From: Ben Skeggs @ 2014-08-04 23:26 UTC (permalink / raw)
  To: Roy Spliet; +Cc: Nouveau Mailinglist

On Sun, Aug 3, 2014 at 1:15 AM, Roy Spliet <rspliet-pPYjZ15w/Xhulxpn9UvDqw@public.gmane.org> wrote:
> This patch fixes the pwr firmware to play nicely at least on NVA3. Because Martin might send more patches soon, I didn't include a regenerated nvXX.fuc.h. To me it makes more sense if all patches are merged then, and a final patch regenerates the headers in one go. Of course, I did test this patch and found it to work as intended, so feel free to pick up as you please.
Nice catch :)

Thanks for pointing out that the ucode changes weren't included too, I
amended the commit when I merged it to include them.

One small note:  If patches are against the kernel rather than the
nouveau tree, can you include the "drm/nouveau" prefix too? :)

Thanks,
Ben.

>
>
>

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

* Re: pwr/macros: Stop playing Russian roulette on data memory
       [not found]     ` <CACAvsv6h00+26WK9=VcGokgVzN=e+3Z5DJR1r1--Q5JYFc4bjA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2014-08-04 23:32       ` Martin Peres
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Peres @ 2014-08-04 23:32 UTC (permalink / raw)
  To: Ben Skeggs, Roy Spliet; +Cc: Nouveau Mailinglist

On 05/08/2014 01:26, Ben Skeggs wrote:
> On Sun, Aug 3, 2014 at 1:15 AM, Roy Spliet <rspliet-pPYjZ15w/Xhulxpn9UvDqw@public.gmane.org> wrote:
>> This patch fixes the pwr firmware to play nicely at least on NVA3. Because Martin might send more patches soon, I didn't include a regenerated nvXX.fuc.h. To me it makes more sense if all patches are merged then, and a final patch regenerates the headers in one go. Of course, I did test this patch and found it to work as intended, so feel free to pick up as you please.

Roy is right, I should take the time and send you my ppwr patches. If 
anything, I would like this patch to be merged:

http://cgit.freedesktop.org/~mperes/nouveau/commit/?h=ppwr_rework&id=b0bbe7dc6aefb68c7e305ca160f452db053633e7

> Nice catch :)
>
> Thanks for pointing out that the ucode changes weren't included too, I
> amended the commit when I merged it to include them.
>
> One small note:  If patches are against the kernel rather than the
> nouveau tree, can you include the "drm/nouveau" prefix too? :)

Good to know!
>
> Thanks,
> Ben.
>
>

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

end of thread, other threads:[~2014-08-04 23:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-02 15:15 pwr/macros: Stop playing Russian roulette on data memory Roy Spliet
     [not found] ` <1406992501-23037-1-git-send-email-rspliet-pPYjZ15w/Xhulxpn9UvDqw@public.gmane.org>
2014-08-02 15:15   ` [PATCH] " Roy Spliet
2014-08-04 23:26   ` Ben Skeggs
     [not found]     ` <CACAvsv6h00+26WK9=VcGokgVzN=e+3Z5DJR1r1--Q5JYFc4bjA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-04 23:32       ` Martin Peres

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.