All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: SERIALIZE command
@ 2010-06-15 12:17 Albert Vilella
       [not found] ` <AANLkTilgUhL5VKW8Mz-hLnz0jzjKfGLW2hNUdYm1vefC-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Albert Vilella @ 2010-06-15 12:17 UTC (permalink / raw)
  To: Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	cbergstrom-Hl0AACgZOF5l57MIdRCFDg

Hi all,

Has anything changed since this email that will make OpenCL support in
nouveau easier?

I would like to compile some information about the different steps
needed to have OpenCL support for Nouveau (and the ATI open-source
drivers for that matters) so that people interested in this issue can
have a starting document to read.

Cheers,

Albert.

> Kernel allows you to create the relevant object, but other than that there's
> no support. You can indeed run your gpu code under nouveau if you're happy
> with writing it in nv50 machine code and submitting via the pushbuffer
> interface. Also our current memory managment is totally unfit for GPGPU
> applications and will need to be redone before there's any hope of seeing CUDA
> or OpenCL support in nouveau.
>
> Also, if you have any more questions and don't hate IRC, you can come to
> #nouveau channel on freenode. Makes it easier to answer.
>
> > Thanks,
> > - Shinpei
>
> Marcin KoÅcielnicki

^ permalink raw reply	[flat|nested] 14+ messages in thread
* SERIALIZE command
@ 2010-04-09 14:56 Shinpei KATO
  2010-04-09 15:11 ` Marcin Kościelnicki
  0 siblings, 1 reply; 14+ messages in thread
From: Shinpei KATO @ 2010-04-09 14:56 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Hi all,

I am trying to use the 0x110 SERIALIZE (or 0x108 WAIT_FOR_IDLE?) command to
barrier the PGRAPH commands.
Unfortunately, I do not find any examples either in nouveau or gallium.

If it plays just a barrier, I guess it should work by something like (in
case of m2mf):
BEGIN_RING(chan, m2mf, 0x110, 1);
OUT_RING(chan, 1);

Otherwise, it may actually play to serialize some commands, then I would
rather use as follows:
BEGIN_RING(chan, m2mf, 0x110, 1);
OUT_RING(chan, NUMBER_OF_FOLLOWING_COMMANDS);

I have tried both approaches, and the application runs without any problems,
but I am not sure if barriers have happened or not ;-)
I would appreciate if anyone can tell me how to use the barrier command.

Best,
- Shinpei

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

end of thread, other threads:[~2010-06-15 13:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-15 12:17 SERIALIZE command Albert Vilella
     [not found] ` <AANLkTilgUhL5VKW8Mz-hLnz0jzjKfGLW2hNUdYm1vefC-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-15 13:48   ` "C. Bergström"
  -- strict thread matches above, loose matches on Subject: below --
2010-04-09 14:56 Shinpei KATO
2010-04-09 15:11 ` Marcin Kościelnicki
     [not found]   ` <201004091511.04752.koriakin-mP9o5jsk0RY@public.gmane.org>
2010-04-09 15:54     ` Shinpei KATO
2010-04-09 16:05       ` Marcin Kościelnicki
     [not found]         ` <201004091605.34175.koriakin-mP9o5jsk0RY@public.gmane.org>
2010-04-09 16:10           ` Shinpei KATO
2010-04-09 18:31           ` Shinpei KATO
2010-04-09 21:16             ` Marcin Kościelnicki
     [not found]               ` <201004092116.33489.koriakin-mP9o5jsk0RY@public.gmane.org>
2010-04-09 22:21                 ` Shinpei KATO
2010-04-09 23:10                   ` Younes Manton
     [not found]                     ` <t2o586c2acd1004091610o4c88fa92y26f092b57430014d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-09 23:43                       ` Shinpei KATO
2010-04-10  1:10                   ` Marcin Kościelnicki
     [not found]                     ` <201004100110.43995.koriakin-mP9o5jsk0RY@public.gmane.org>
2010-04-10  2:05                       ` Shinpei KATO

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.