Re: [Mesa-dev] [PATCH v3 05/11] nouveau: use common screen ref counting

2016-07-20 Thread Rob Herring
On Wed, Jul 20, 2016 at 5:32 PM, Ilia Mirkin wrote: > On Wed, Jul 20, 2016 at 6:29 PM, Ilia Mirkin wrote: >> On Wed, Jul 20, 2016 at 6:25 PM, Rob Herring wrote: >>> Use the common pipe_screen ref counting and fd hashing functions. The >>> mutex can be dropped as the pipe loader protects the crea

Re: [Mesa-dev] [PATCH v3 05/11] nouveau: use common screen ref counting

2016-07-20 Thread Ilia Mirkin
On Wed, Jul 20, 2016 at 6:29 PM, Ilia Mirkin wrote: > On Wed, Jul 20, 2016 at 6:25 PM, Rob Herring wrote: >> Use the common pipe_screen ref counting and fd hashing functions. The >> mutex can be dropped as the pipe loader protects the create_screen() >> calls. >> >> Signed-off-by: Rob Herring >>

Re: [Mesa-dev] [PATCH v3 05/11] nouveau: use common screen ref counting

2016-07-20 Thread Ilia Mirkin
On Wed, Jul 20, 2016 at 6:25 PM, Rob Herring wrote: > Use the common pipe_screen ref counting and fd hashing functions. The > mutex can be dropped as the pipe loader protects the create_screen() > calls. > > Signed-off-by: Rob Herring > Cc: Alexandre Courbot > --- > src/gallium/drivers/nouveau/

[Mesa-dev] [PATCH v3 05/11] nouveau: use common screen ref counting

2016-07-20 Thread Rob Herring
Use the common pipe_screen ref counting and fd hashing functions. The mutex can be dropped as the pipe loader protects the create_screen() calls. Signed-off-by: Rob Herring Cc: Alexandre Courbot --- src/gallium/drivers/nouveau/nouveau_screen.c | 6 -- src/gallium/drivers/nouveau/nouveau_