Re: [Mesa-dev] [PATCH v4 03/11] gallium: add common pipe_screen reference counting functions

2017-01-11 Thread Marek Olšák
On Mon, Jan 9, 2017 at 7:38 PM, Emil Velikov wrote: > On 28 July 2016 at 13:45, Marek Olšák wrote: >> On Fri, Jul 22, 2016 at 6:22 PM, Rob Herring wrote: >>> In order to prevent multiple pipe_screens being created in the same >>> process, lookup of the DRM FD and reference counting of the pipe_s

Re: [Mesa-dev] [PATCH v4 03/11] gallium: add common pipe_screen reference counting functions

2017-01-09 Thread Emil Velikov
On 22 July 2016 at 19:01, Rob Herring wrote: > On Fri, Jul 22, 2016 at 11:46 AM, Ilia Mirkin wrote: >> On Fri, Jul 22, 2016 at 12:22 PM, Rob Herring wrote: >>> In order to prevent multiple pipe_screens being created in the same >>> process, lookup of the DRM FD and reference counting of the pipe

Re: [Mesa-dev] [PATCH v4 03/11] gallium: add common pipe_screen reference counting functions

2017-01-09 Thread Emil Velikov
On 28 July 2016 at 13:45, Marek Olšák wrote: > On Fri, Jul 22, 2016 at 6:22 PM, Rob Herring wrote: >> In order to prevent multiple pipe_screens being created in the same >> process, lookup of the DRM FD and reference counting of the pipe_screen >> are needed. Several implementations of this exist

Re: [Mesa-dev] [PATCH v4 03/11] gallium: add common pipe_screen reference counting functions

2016-07-28 Thread Marek Olšák
On Fri, Jul 22, 2016 at 6:22 PM, Rob Herring wrote: > In order to prevent multiple pipe_screens being created in the same > process, lookup of the DRM FD and reference counting of the pipe_screen > are needed. Several implementations of this exist in various gallium > drivers/winsys already. This

Re: [Mesa-dev] [PATCH v4 03/11] gallium: add common pipe_screen reference counting functions

2016-07-22 Thread Ilia Mirkin
On Fri, Jul 22, 2016 at 2:01 PM, Rob Herring wrote: > On Fri, Jul 22, 2016 at 11:46 AM, Ilia Mirkin wrote: >> On Fri, Jul 22, 2016 at 12:22 PM, Rob Herring wrote: >>> In order to prevent multiple pipe_screens being created in the same >>> process, lookup of the DRM FD and reference counting of t

Re: [Mesa-dev] [PATCH v4 03/11] gallium: add common pipe_screen reference counting functions

2016-07-22 Thread Rob Herring
On Fri, Jul 22, 2016 at 11:46 AM, Ilia Mirkin wrote: > On Fri, Jul 22, 2016 at 12:22 PM, Rob Herring wrote: >> In order to prevent multiple pipe_screens being created in the same >> process, lookup of the DRM FD and reference counting of the pipe_screen >> are needed. Several implementations of t

Re: [Mesa-dev] [PATCH v4 03/11] gallium: add common pipe_screen reference counting functions

2016-07-22 Thread Ilia Mirkin
On Fri, Jul 22, 2016 at 12:22 PM, Rob Herring wrote: > In order to prevent multiple pipe_screens being created in the same > process, lookup of the DRM FD and reference counting of the pipe_screen > are needed. Several implementations of this exist in various gallium > drivers/winsys already. This

[Mesa-dev] [PATCH v4 03/11] gallium: add common pipe_screen reference counting functions

2016-07-22 Thread Rob Herring
In order to prevent multiple pipe_screens being created in the same process, lookup of the DRM FD and reference counting of the pipe_screen are needed. Several implementations of this exist in various gallium drivers/winsys already. This creates a common version which is opt-in for winsys implement