Re: [Mesa-dev] [PATCH 0/6] Gallium multithreaded queue - cleanup and multiple threads per queue

2016-06-24 Thread Nicolai Hähnle
On 23.06.2016 00:35, Marek Olšák wrote: On Thu, Jun 23, 2016 at 12:29 AM, Marek Olšák wrote: On Tue, Jun 21, 2016 at 4:47 PM, Nicolai Hähnle wrote: On 21.06.2016 14:17, Marek Olšák wrote: Hi, This improves u_queue to be more usable in more cases.

Re: [Mesa-dev] [PATCH 0/6] Gallium multithreaded queue - cleanup and multiple threads per queue

2016-06-22 Thread Marek Olšák
On Thu, Jun 23, 2016 at 12:29 AM, Marek Olšák wrote: > On Tue, Jun 21, 2016 at 4:47 PM, Nicolai Hähnle wrote: >> On 21.06.2016 14:17, Marek Olšák wrote: >>> >>> Hi, >>> >>> This improves u_queue to be more usable in more cases. >>> >>> With this, the size of

Re: [Mesa-dev] [PATCH 0/6] Gallium multithreaded queue - cleanup and multiple threads per queue

2016-06-22 Thread Marek Olšák
On Tue, Jun 21, 2016 at 4:47 PM, Nicolai Hähnle wrote: > On 21.06.2016 14:17, Marek Olšák wrote: >> >> Hi, >> >> This improves u_queue to be more usable in more cases. >> >> With this, the size of the queue (maximum number of jobs waiting) is >> configurable as well as the

Re: [Mesa-dev] [PATCH 0/6] Gallium multithreaded queue - cleanup and multiple threads per queue

2016-06-21 Thread Nicolai Hähnle
On 21.06.2016 14:17, Marek Olšák wrote: Hi, This improves u_queue to be more usable in more cases. With this, the size of the queue (maximum number of jobs waiting) is configurable as well as the number of threads executing the jobs. The semaphores are ditched in favor of simpler condvars,

[Mesa-dev] [PATCH 0/6] Gallium multithreaded queue - cleanup and multiple threads per queue

2016-06-21 Thread Marek Olšák
Hi, This improves u_queue to be more usable in more cases. With this, the size of the queue (maximum number of jobs waiting) is configurable as well as the number of threads executing the jobs. The semaphores are ditched in favor of simpler condvars, and multiple waiters on fences are allowed