Re: [Mesa-dev] [PATCH 1/2] virgl: reuse screen when fd is already open

2016-02-04 Thread Emil Velikov
On 4 February 2016 at 16:20, Rob Clark wrote: > On Wed, Feb 3, 2016 at 7:52 PM, Emil Velikov wrote: >> On 2 February 2016 at 17:55, Rob Clark wrote: >>> On Tue, Feb 2, 2016 at 12:13 PM, Emil Velikov >>> wrote: On 31 January 2016 at 19:40, Rob Clark wrote: > On Sun, Jan 31, 2016 at 6:

Re: [Mesa-dev] [PATCH 1/2] virgl: reuse screen when fd is already open

2016-02-04 Thread Rob Clark
On Wed, Feb 3, 2016 at 7:52 PM, Emil Velikov wrote: > On 2 February 2016 at 17:55, Rob Clark wrote: >> On Tue, Feb 2, 2016 at 12:13 PM, Emil Velikov >> wrote: >>> On 31 January 2016 at 19:40, Rob Clark wrote: On Sun, Jan 31, 2016 at 6:18 AM, Emil Velikov wrote: > Hi Rob, >

Re: [Mesa-dev] [PATCH 1/2] virgl: reuse screen when fd is already open

2016-02-03 Thread Emil Velikov
On 2 February 2016 at 17:55, Rob Clark wrote: > On Tue, Feb 2, 2016 at 12:13 PM, Emil Velikov > wrote: >> On 31 January 2016 at 19:40, Rob Clark wrote: >>> On Sun, Jan 31, 2016 at 6:18 AM, Emil Velikov >>> wrote: Hi Rob, On 30 January 2016 at 00:36, Rob Herring wrote: > It

Re: [Mesa-dev] [PATCH 1/2] virgl: reuse screen when fd is already open

2016-02-02 Thread Rob Clark
On Tue, Feb 2, 2016 at 12:13 PM, Emil Velikov wrote: > On 31 January 2016 at 19:40, Rob Clark wrote: >> On Sun, Jan 31, 2016 at 6:18 AM, Emil Velikov >> wrote: >>> Hi Rob, >>> >>> On 30 January 2016 at 00:36, Rob Herring wrote: It is necessary to share the screen between mesa and gralloc

Re: [Mesa-dev] [PATCH 1/2] virgl: reuse screen when fd is already open

2016-02-02 Thread Emil Velikov
On 31 January 2016 at 19:40, Rob Clark wrote: > On Sun, Jan 31, 2016 at 6:18 AM, Emil Velikov > wrote: >> Hi Rob, >> >> On 30 January 2016 at 00:36, Rob Herring wrote: >>> It is necessary to share the screen between mesa and gralloc to >>> properly ref count resources. This implements a hash lo

Re: [Mesa-dev] [PATCH 1/2] virgl: reuse screen when fd is already open

2016-01-31 Thread Rob Clark
On Sun, Jan 31, 2016 at 6:18 AM, Emil Velikov wrote: > Hi Rob, > > On 30 January 2016 at 00:36, Rob Herring wrote: >> It is necessary to share the screen between mesa and gralloc to >> properly ref count resources. This implements a hash lookup on >> the file description to re-use an already crea

Re: [Mesa-dev] [PATCH 1/2] virgl: reuse screen when fd is already open

2016-01-31 Thread Emil Velikov
Hi Rob, On 30 January 2016 at 00:36, Rob Herring wrote: > It is necessary to share the screen between mesa and gralloc to > properly ref count resources. This implements a hash lookup on > the file description to re-use an already created screen. This is > a similar implementation as freedreno an

[Mesa-dev] [PATCH 1/2] virgl: reuse screen when fd is already open

2016-01-29 Thread Rob Herring
It is necessary to share the screen between mesa and gralloc to properly ref count resources. This implements a hash lookup on the file description to re-use an already created screen. This is a similar implementation as freedreno and radeon. Signed-off-by: Rob Herring --- src/gallium/auxiliary/