linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 12/14] ps3: fix gpu_context_allocate hcall
@ 2007-01-25  2:40 Geoff Levand
  2007-01-25  6:25 ` Arnd Bergmann
  2007-01-25 16:36 ` Geoff Levand
  0 siblings, 2 replies; 3+ messages in thread
From: Geoff Levand @ 2007-01-25  2:40 UTC (permalink / raw)
  To: paulus; +Cc: Geert Uytterhoeven, linuxppc-dev

From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>

PS3: lv1_gpu_context_allocate() takes only one input parameter

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>

---
 include/asm-powerpc/lv1call.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- ps3-linux-dev.orig/include/asm-powerpc/lv1call.h
+++ ps3-linux-dev/include/asm-powerpc/lv1call.h
@@ -307,7 +307,7 @@ LV1_CALL(gpu_device_map,                
 LV1_CALL(gpu_device_unmap,                              1, 0, 213 )
 LV1_CALL(gpu_memory_allocate,                           5, 2, 214 )
 LV1_CALL(gpu_memory_free,                               1, 0, 216 )
-LV1_CALL(gpu_context_allocate,                          2, 5, 217 )
+LV1_CALL(gpu_context_allocate,                          1, 5, 217 )
 LV1_CALL(gpu_context_free,                              1, 0, 218 )
 LV1_CALL(gpu_context_iomap,                             5, 0, 221 )
 LV1_CALL(gpu_context_attribute,                         6, 0, 225 )

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

* Re: [PATCH 12/14] ps3: fix gpu_context_allocate hcall
  2007-01-25  2:40 [PATCH 12/14] ps3: fix gpu_context_allocate hcall Geoff Levand
@ 2007-01-25  6:25 ` Arnd Bergmann
  2007-01-25 16:36 ` Geoff Levand
  1 sibling, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2007-01-25  6:25 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Geert Uytterhoeven, paulus

On Thursday 25 January 2007 03:40, Geoff Levand wrote:
> From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
> 
> PS3: lv1_gpu_context_allocate() takes only one input parameter
> 
> Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
> Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
> 
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>

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

* Re: [PATCH 12/14] ps3: fix gpu_context_allocate hcall
  2007-01-25  2:40 [PATCH 12/14] ps3: fix gpu_context_allocate hcall Geoff Levand
  2007-01-25  6:25 ` Arnd Bergmann
@ 2007-01-25 16:36 ` Geoff Levand
  1 sibling, 0 replies; 3+ messages in thread
From: Geoff Levand @ 2007-01-25 16:36 UTC (permalink / raw)
  To: Geoff Levand, paulus; +Cc: Geert Uytterhoeven, linuxppc-dev

Geoff Levand wrote:
> From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
> 
> PS3: lv1_gpu_context_allocate() takes only one input parameter
> 
> Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
> Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
> 
> ---
>  include/asm-powerpc/lv1call.h |    2 +-
>  1 files changed, 1 insertion(+), 1 deletion(-)
> 
> --- ps3-linux-dev.orig/include/asm-powerpc/lv1call.h
> +++ ps3-linux-dev/include/asm-powerpc/lv1call.h
> @@ -307,7 +307,7 @@ LV1_CALL(gpu_device_map,                
>  LV1_CALL(gpu_device_unmap,                              1, 0, 213 )
>  LV1_CALL(gpu_memory_allocate,                           5, 2, 214 )
>  LV1_CALL(gpu_memory_free,                               1, 0, 216 )
> -LV1_CALL(gpu_context_allocate,                          2, 5, 217 )
> +LV1_CALL(gpu_context_allocate,                          1, 5, 217 )
>  LV1_CALL(gpu_context_free,                              1, 0, 218 )
>  LV1_CALL(gpu_context_iomap,                             5, 0, 221 )
>  LV1_CALL(gpu_context_attribute,                         6, 0, 225 )
> 

Paul,

Please don't apply this one.

There was some discrepancy in the documents, and I just now got
the final word from the lv1 team that this parameter is a flag,
and is needed, but currently should be zero.

Sorry for the trouble.

-Geoff

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

end of thread, other threads:[~2007-01-25 16:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-25  2:40 [PATCH 12/14] ps3: fix gpu_context_allocate hcall Geoff Levand
2007-01-25  6:25 ` Arnd Bergmann
2007-01-25 16:36 ` Geoff Levand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).