Re: [Mesa-dev] Testing out Kristian's fast mtx patch

2017-10-15 Thread Timothy Arceri
On 10/10/17 23:38, Marek Olšák wrote: On Oct 10, 2017 4:46 AM, "Timothy Arceri" > wrote: After a recent discussion about this code from 2015 I was curious to give it a try. The outstanding review item was that we shouldn't be replacing the C11 mtx t

Re: [Mesa-dev] Testing out Kristian's fast mtx patch

2017-10-11 Thread Eric Anholt
Timothy Arceri writes: > After a recent discussion about this code from 2015 I was curious > to give it a try. The outstanding review item was that we shouldn't > be replacing the C11 mtx type/functions with our own, so I've renamed > the fast path to simple_mtx* and added a couple of patches to

Re: [Mesa-dev] Testing out Kristian's fast mtx patch

2017-10-10 Thread Kristian Høgsberg
On Mon, Oct 9, 2017 at 7:45 PM, Timothy Arceri wrote: > After a recent discussion about this code from 2015 I was curious > to give it a try. The outstanding review item was that we shouldn't > be replacing the C11 mtx type/functions with our own, so I've renamed > the fast path to simple_mtx* and

Re: [Mesa-dev] Testing out Kristian's fast mtx patch

2017-10-10 Thread Emil Velikov
On 10 October 2017 at 13:38, Marek Olšák wrote: > > I think all our mutexes are mtx_plain, but the simple mutexes can't be used > with cond vars. > Sadly we have a few mtx_recursive instances - 3 in mesa/main and 1 in svga. -Emil ___ mesa-dev mailing l

Re: [Mesa-dev] Testing out Kristian's fast mtx patch

2017-10-10 Thread Marek Olšák
On Oct 10, 2017 4:46 AM, "Timothy Arceri" wrote: After a recent discussion about this code from 2015 I was curious to give it a try. The outstanding review item was that we shouldn't be replacing the C11 mtx type/functions with our own, so I've renamed the fast path to simple_mtx* and added a cou

Re: [Mesa-dev] Testing out Kristian's fast mtx patch

2017-10-10 Thread Marathe, Yogesh
r pointing this out anyways, I should still try this. -Yogesh. >-Original Message- >From: Palli, Tapani >Sent: Tuesday, October 10, 2017 2:37 PM >To: Timothy Arceri ; mesa-dev@lists.freedesktop.org >Cc: Marathe, Yogesh >Subject: Re: [Mesa-dev] Testing out Kristian'

Re: [Mesa-dev] Testing out Kristian's fast mtx patch

2017-10-10 Thread Tapani Pälli
It's possible that this series could help with CPU intensive 3DMark ... FYI Yogesh. On 10/10/2017 05:45 AM, Timothy Arceri wrote: After a recent discussion about this code from 2015 I was curious to give it a try. The outstanding review item was that we shouldn't be replacing the C11 mtx type/

[Mesa-dev] Testing out Kristian's fast mtx patch

2017-10-09 Thread Timothy Arceri
After a recent discussion about this code from 2015 I was curious to give it a try. The outstanding review item was that we shouldn't be replacing the C11 mtx type/functions with our own, so I've renamed the fast path to simple_mtx* and added a couple of patches to make use of it. The idea is this