Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-04-04 Thread Rob Clark
On Mon, Apr 4, 2016 at 11:41 AM, Rob Clark wrote: > On Sun, Apr 3, 2016 at 8:14 PM, Inki Dae wrote: >> >> 2016년 03월 31일 23:10에 Rob Clark 이(가) 쓴 글: >>> On Thu, Mar 31, 2016 at 7:26 AM, Inki Dae wrote: Hi Daniel,

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-04-04 Thread Rob Clark
On Mon, Apr 4, 2016 at 11:41 AM, Rob Clark wrote: > On Sun, Apr 3, 2016 at 8:14 PM, Inki Dae wrote: >> >> 2016년 03월 31일 23:10에 Rob Clark 이(가) 쓴 글: >>> On Thu, Mar 31, 2016 at 7:26 AM, Inki Dae wrote: Hi Daniel, 2016-03-31 19:56 GMT+09:00 Daniel Stone : > Hi Inki, > >

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-04-04 Thread Rob Clark
On Sun, Apr 3, 2016 at 8:14 PM, Inki Dae wrote: > > 2016년 03월 31일 23:10에 Rob Clark 이(가) 쓴 글: >> On Thu, Mar 31, 2016 at 7:26 AM, Inki Dae wrote: >>> Hi Daniel, >>> >>> 2016-03-31 19:56 GMT+09:00 Daniel Stone : Hi Inki,

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-04-04 Thread Rob Clark
On Sun, Apr 3, 2016 at 8:14 PM, Inki Dae wrote: > > 2016년 03월 31일 23:10에 Rob Clark 이(가) 쓴 글: >> On Thu, Mar 31, 2016 at 7:26 AM, Inki Dae wrote: >>> Hi Daniel, >>> >>> 2016-03-31 19:56 GMT+09:00 Daniel Stone : Hi Inki, On 31 March 2016 at 11:05, Inki Dae wrote: > 2016년 03월

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-04-03 Thread Inki Dae
2016년 03월 31일 23:10에 Rob Clark 이(가) 쓴 글: > On Thu, Mar 31, 2016 at 7:26 AM, Inki Dae wrote: >> Hi Daniel, >> >> 2016-03-31 19:56 GMT+09:00 Daniel Stone : >>> Hi Inki, >>> >>> On 31 March 2016 at 11:05, Inki Dae wrote: 2016년 03월

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-04-03 Thread Inki Dae
2016년 03월 31일 23:10에 Rob Clark 이(가) 쓴 글: > On Thu, Mar 31, 2016 at 7:26 AM, Inki Dae wrote: >> Hi Daniel, >> >> 2016-03-31 19:56 GMT+09:00 Daniel Stone : >>> Hi Inki, >>> >>> On 31 March 2016 at 11:05, Inki Dae wrote: 2016년 03월 31일 18:35에 Daniel Stone 이(가) 쓴 글: > On 31 March 2016 at

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Rob Clark
On Thu, Mar 31, 2016 at 7:26 AM, Inki Dae wrote: > Hi Daniel, > > 2016-03-31 19:56 GMT+09:00 Daniel Stone : >> Hi Inki, >> >> On 31 March 2016 at 11:05, Inki Dae wrote: >>> 2016년 03월 31일 18:35에 Daniel Stone 이(가) 쓴 글: On 31 March

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Rob Clark
On Thu, Mar 31, 2016 at 7:26 AM, Inki Dae wrote: > Hi Daniel, > > 2016-03-31 19:56 GMT+09:00 Daniel Stone : >> Hi Inki, >> >> On 31 March 2016 at 11:05, Inki Dae wrote: >>> 2016년 03월 31일 18:35에 Daniel Stone 이(가) 쓴 글: On 31 March 2016 at 08:45, Inki Dae wrote: > As of now, it seems that

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Daniel Stone
Hi Inki, On 31 March 2016 at 12:26, Inki Dae wrote: > 2016-03-31 19:56 GMT+09:00 Daniel Stone : >> On 31 March 2016 at 11:05, Inki Dae wrote: >>> Then, existing drivers would need additional works for explicit fencing >>> support.

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Daniel Stone
Hi Inki, On 31 March 2016 at 12:26, Inki Dae wrote: > 2016-03-31 19:56 GMT+09:00 Daniel Stone : >> On 31 March 2016 at 11:05, Inki Dae wrote: >>> Then, existing drivers would need additional works for explicit fencing >>> support. This wouldn't be really what the drivers have to but should be

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
2016-03-31 19:04 GMT+09:00 Daniel Vetter : > On Thu, Mar 31, 2016 at 10:35:11AM +0100, Daniel Stone wrote: >> Well, it has to be one or the other: mixing explicit and implicit, >> defeats the purpose of using explicit fencing. So, when explicit >> fencing is in use, implicit

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
2016-03-31 19:04 GMT+09:00 Daniel Vetter : > On Thu, Mar 31, 2016 at 10:35:11AM +0100, Daniel Stone wrote: >> Well, it has to be one or the other: mixing explicit and implicit, >> defeats the purpose of using explicit fencing. So, when explicit >> fencing is in use, implicit fences must be

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
Hi Daniel, 2016-03-31 19:56 GMT+09:00 Daniel Stone : > Hi Inki, > > On 31 March 2016 at 11:05, Inki Dae wrote: >> 2016년 03월 31일 18:35에 Daniel Stone 이(가) 쓴 글: >>> On 31 March 2016 at 08:45, Inki Dae wrote: As of now, it seems

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
Hi Daniel, 2016-03-31 19:56 GMT+09:00 Daniel Stone : > Hi Inki, > > On 31 March 2016 at 11:05, Inki Dae wrote: >> 2016년 03월 31일 18:35에 Daniel Stone 이(가) 쓴 글: >>> On 31 March 2016 at 08:45, Inki Dae wrote: As of now, it seems that this wouldn't be optional but mandatory if explicit

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Daniel Stone
Hi Inki, On 31 March 2016 at 11:05, Inki Dae wrote: > 2016년 03월 31일 18:35에 Daniel Stone 이(가) 쓴 글: >> On 31 March 2016 at 08:45, Inki Dae wrote: >>> As of now, it seems that this wouldn't be optional but mandatory if >>> explicit fence support is

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Daniel Stone
Hi Inki, On 31 March 2016 at 11:05, Inki Dae wrote: > 2016년 03월 31일 18:35에 Daniel Stone 이(가) 쓴 글: >> On 31 March 2016 at 08:45, Inki Dae wrote: >>> As of now, it seems that this wouldn't be optional but mandatory if >>> explicit fence support is added to the atomic helper framework. This would

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
Hi Daniel, 2016년 03월 31일 18:35에 Daniel Stone 이(가) 쓴 글: > Hi Inki, > > On 31 March 2016 at 08:45, Inki Dae wrote: >> 2016년 03월 29일 22:23에 Rob Clark 이(가) 쓴 글: >>> On Mon, Mar 28, 2016 at 10:18 PM, Inki Dae wrote: In addition, I wonder how explicit

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
Hi Daniel, 2016년 03월 31일 18:35에 Daniel Stone 이(가) 쓴 글: > Hi Inki, > > On 31 March 2016 at 08:45, Inki Dae wrote: >> 2016년 03월 29일 22:23에 Rob Clark 이(가) 쓴 글: >>> On Mon, Mar 28, 2016 at 10:18 PM, Inki Dae wrote: In addition, I wonder how explicit and implicit fences could coexist

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Daniel Vetter
On Thu, Mar 31, 2016 at 10:35:11AM +0100, Daniel Stone wrote: > Well, it has to be one or the other: mixing explicit and implicit, > defeats the purpose of using explicit fencing. So, when explicit > fencing is in use, implicit fences must be ignored. You can mix it, if you're careful. CrOS wants

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Daniel Vetter
On Thu, Mar 31, 2016 at 10:35:11AM +0100, Daniel Stone wrote: > Well, it has to be one or the other: mixing explicit and implicit, > defeats the purpose of using explicit fencing. So, when explicit > fencing is in use, implicit fences must be ignored. You can mix it, if you're careful. CrOS wants

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Daniel Stone
Hi Inki, On 31 March 2016 at 08:45, Inki Dae wrote: > 2016년 03월 29일 22:23에 Rob Clark 이(가) 쓴 글: >> On Mon, Mar 28, 2016 at 10:18 PM, Inki Dae wrote: >>> In addition, I wonder how explicit and implicit fences could coexist >>> together. >>> Rob said,

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Daniel Stone
Hi Inki, On 31 March 2016 at 08:45, Inki Dae wrote: > 2016년 03월 29일 22:23에 Rob Clark 이(가) 쓴 글: >> On Mon, Mar 28, 2016 at 10:18 PM, Inki Dae wrote: >>> In addition, I wonder how explicit and implicit fences could coexist >>> together. >>> Rob said, >>> "Implicit sync ofc remains the default,

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
2016년 03월 29일 22:23에 Rob Clark 이(가) 쓴 글: > On Mon, Mar 28, 2016 at 10:18 PM, Inki Dae wrote: >> >> In addition, I wonder how explicit and implicit fences could coexist >> together. >> Rob said, >> "Implicit sync ofc remains the default, but userspace could opt-in to >>

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-31 Thread Inki Dae
2016년 03월 29일 22:23에 Rob Clark 이(가) 쓴 글: > On Mon, Mar 28, 2016 at 10:18 PM, Inki Dae wrote: >> >> In addition, I wonder how explicit and implicit fences could coexist >> together. >> Rob said, >> "Implicit sync ofc remains the default, but userspace could opt-in to >> explicit sync instead"

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-29 Thread Rob Clark
On Mon, Mar 28, 2016 at 10:18 PM, Inki Dae wrote: > > In addition, I wonder how explicit and implicit fences could coexist together. > Rob said, > "Implicit sync ofc remains the default, but userspace could opt-in to > explicit sync instead" > > This would mean that if we

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-29 Thread Rob Clark
On Mon, Mar 28, 2016 at 10:18 PM, Inki Dae wrote: > > In addition, I wonder how explicit and implicit fences could coexist together. > Rob said, > "Implicit sync ofc remains the default, but userspace could opt-in to > explicit sync instead" > > This would mean that if we use explicit sync for

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-28 Thread Inki Dae
Hi Daniel, 2016년 03월 28일 22:26에 Daniel Stone 이(가) 쓴 글: > Hi Inki, > > On 28 March 2016 at 02:26, Inki Dae wrote: >> 2016년 03월 25일 21:10에 Daniel Stone 이(가) 쓴 글: >>> Second, really. Vulkan avoids implicit sync entirely, and exposes >>> fence-like primitives throughout its

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-28 Thread Inki Dae
Hi Daniel, 2016년 03월 28일 22:26에 Daniel Stone 이(가) 쓴 글: > Hi Inki, > > On 28 March 2016 at 02:26, Inki Dae wrote: >> 2016년 03월 25일 21:10에 Daniel Stone 이(가) 쓴 글: >>> Second, really. Vulkan avoids implicit sync entirely, and exposes >>> fence-like primitives throughout its whole API. These include

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-28 Thread Daniel Stone
Hi Inki, On 28 March 2016 at 02:26, Inki Dae wrote: > 2016년 03월 25일 21:10에 Daniel Stone 이(가) 쓴 글: >> Second, really. Vulkan avoids implicit sync entirely, and exposes >> fence-like primitives throughout its whole API. These include being >> able to pass prerequisite fences

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-28 Thread Daniel Stone
Hi Inki, On 28 March 2016 at 02:26, Inki Dae wrote: > 2016년 03월 25일 21:10에 Daniel Stone 이(가) 쓴 글: >> Second, really. Vulkan avoids implicit sync entirely, and exposes >> fence-like primitives throughout its whole API. These include being >> able to pass prerequisite fences for display (what

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-27 Thread Inki Dae
Hi Rob and Daniel, 2016년 03월 25일 21:10에 Daniel Stone 이(가) 쓴 글: > Hi all, > > On 25 March 2016 at 11:58, Rob Clark wrote: >> On Thu, Mar 24, 2016 at 7:49 PM, Inki Dae wrote: >>> It's definitely different case. This tries to add new user-space

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-27 Thread Inki Dae
Hi Rob and Daniel, 2016년 03월 25일 21:10에 Daniel Stone 이(가) 쓴 글: > Hi all, > > On 25 March 2016 at 11:58, Rob Clark wrote: >> On Thu, Mar 24, 2016 at 7:49 PM, Inki Dae wrote: >>> It's definitely different case. This tries to add new user-space interfaces >>> to expose fences to user-space. At

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-25 Thread Daniel Stone
Hi all, On 25 March 2016 at 11:58, Rob Clark wrote: > On Thu, Mar 24, 2016 at 7:49 PM, Inki Dae wrote: >> It's definitely different case. This tries to add new user-space interfaces >> to expose fences to user-space. At least, implicit interfaces are

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-25 Thread Daniel Stone
Hi all, On 25 March 2016 at 11:58, Rob Clark wrote: > On Thu, Mar 24, 2016 at 7:49 PM, Inki Dae wrote: >> It's definitely different case. This tries to add new user-space interfaces >> to expose fences to user-space. At least, implicit interfaces are embedded >> into drivers. >> So I'd like

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-25 Thread Rob Clark
On Thu, Mar 24, 2016 at 7:49 PM, Inki Dae wrote: > > > 2016년 03월 25일 00:40에 Rob Clark 이(가) 쓴 글: >> On Thu, Mar 24, 2016 at 4:18 AM, Inki Dae wrote: >>> Hi, >>> >>> 2016년 03월 24일 03:47에 Gustavo Padovan 이(가) 쓴 글: From: Gustavo Padovan

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-25 Thread Rob Clark
On Thu, Mar 24, 2016 at 7:49 PM, Inki Dae wrote: > > > 2016년 03월 25일 00:40에 Rob Clark 이(가) 쓴 글: >> On Thu, Mar 24, 2016 at 4:18 AM, Inki Dae wrote: >>> Hi, >>> >>> 2016년 03월 24일 03:47에 Gustavo Padovan 이(가) 쓴 글: From: Gustavo Padovan Hi, This is a first proposal to

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Inki Dae
2016년 03월 25일 00:40에 Rob Clark 이(가) 쓴 글: > On Thu, Mar 24, 2016 at 4:18 AM, Inki Dae wrote: >> Hi, >> >> 2016년 03월 24일 03:47에 Gustavo Padovan 이(가) 쓴 글: >>> From: Gustavo Padovan >>> >>> Hi, >>> >>> This is a first proposal to discuss the

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Inki Dae
2016년 03월 25일 00:40에 Rob Clark 이(가) 쓴 글: > On Thu, Mar 24, 2016 at 4:18 AM, Inki Dae wrote: >> Hi, >> >> 2016년 03월 24일 03:47에 Gustavo Padovan 이(가) 쓴 글: >>> From: Gustavo Padovan >>> >>> Hi, >>> >>> This is a first proposal to discuss the addition of in-fences support >>> to DRM. It adds a new

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Inki Dae
Hi Guestavo, 2016년 03월 24일 23:39에 Gustavo Padovan 이(가) 쓴 글: > Hi Inki, > > 2016-03-24 Inki Dae : > >> Hi, >> >> 2016년 03월 24일 03:47에 Gustavo Padovan 이(가) 쓴 글: >>> From: Gustavo Padovan >>> >>> Hi, >>> >>> This is a first proposal to

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Inki Dae
Hi Guestavo, 2016년 03월 24일 23:39에 Gustavo Padovan 이(가) 쓴 글: > Hi Inki, > > 2016-03-24 Inki Dae : > >> Hi, >> >> 2016년 03월 24일 03:47에 Gustavo Padovan 이(가) 쓴 글: >>> From: Gustavo Padovan >>> >>> Hi, >>> >>> This is a first proposal to discuss the addition of in-fences support >>> to DRM. It adds

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Rob Clark
On Thu, Mar 24, 2016 at 4:18 AM, Inki Dae wrote: > Hi, > > 2016년 03월 24일 03:47에 Gustavo Padovan 이(가) 쓴 글: >> From: Gustavo Padovan >> >> Hi, >> >> This is a first proposal to discuss the addition of in-fences support >> to DRM. It adds a new

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Rob Clark
On Thu, Mar 24, 2016 at 4:18 AM, Inki Dae wrote: > Hi, > > 2016년 03월 24일 03:47에 Gustavo Padovan 이(가) 쓴 글: >> From: Gustavo Padovan >> >> Hi, >> >> This is a first proposal to discuss the addition of in-fences support >> to DRM. It adds a new struct to fence.c to abstract the use of sync_file >>

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Gustavo Padovan
Hi Inki, 2016-03-24 Inki Dae : > Hi, > > 2016년 03월 24일 03:47에 Gustavo Padovan 이(가) 쓴 글: > > From: Gustavo Padovan > > > > Hi, > > > > This is a first proposal to discuss the addition of in-fences support > > to DRM. It adds a new struct to

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Gustavo Padovan
Hi Inki, 2016-03-24 Inki Dae : > Hi, > > 2016년 03월 24일 03:47에 Gustavo Padovan 이(가) 쓴 글: > > From: Gustavo Padovan > > > > Hi, > > > > This is a first proposal to discuss the addition of in-fences support > > to DRM. It adds a new struct to fence.c to abstract the use of sync_file > > in DRM

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Gustavo Padovan
Hi Maarten, 2016-03-24 Maarten Lankhorst : > Hey, > > Op 23-03-16 om 19:47 schreef Gustavo Padovan: > > From: Gustavo Padovan > > > > Hi, > > > > This is a first proposal to discuss the addition of in-fences support > > to

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Gustavo Padovan
Hi Maarten, 2016-03-24 Maarten Lankhorst : > Hey, > > Op 23-03-16 om 19:47 schreef Gustavo Padovan: > > From: Gustavo Padovan > > > > Hi, > > > > This is a first proposal to discuss the addition of in-fences support > > to DRM. It adds a new struct to fence.c to abstract the use of sync_file >

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Inki Dae
Hi, 2016년 03월 24일 03:47에 Gustavo Padovan 이(가) 쓴 글: > From: Gustavo Padovan > > Hi, > > This is a first proposal to discuss the addition of in-fences support > to DRM. It adds a new struct to fence.c to abstract the use of sync_file > in DRM drivers. The new

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Inki Dae
Hi, 2016년 03월 24일 03:47에 Gustavo Padovan 이(가) 쓴 글: > From: Gustavo Padovan > > Hi, > > This is a first proposal to discuss the addition of in-fences support > to DRM. It adds a new struct to fence.c to abstract the use of sync_file > in DRM drivers. The new struct fence_collection contains a

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Maarten Lankhorst
Hey, Op 23-03-16 om 19:47 schreef Gustavo Padovan: > From: Gustavo Padovan > > Hi, > > This is a first proposal to discuss the addition of in-fences support > to DRM. It adds a new struct to fence.c to abstract the use of sync_file > in DRM drivers. The new

Re: [RFC 0/6] drm/fences: add in-fences to DRM

2016-03-24 Thread Maarten Lankhorst
Hey, Op 23-03-16 om 19:47 schreef Gustavo Padovan: > From: Gustavo Padovan > > Hi, > > This is a first proposal to discuss the addition of in-fences support > to DRM. It adds a new struct to fence.c to abstract the use of sync_file > in DRM drivers. The new struct fence_collection contains a