[Intel-gfx] [RFC] drm/i915: Android native sync support

Damien Lespiau damien.lespiau at intel.com
Thu Jan 22 06:04:42 PST 2015


On Thu, Jan 22, 2015 at 01:41:48PM +0000, Tvrtko Ursulin wrote:
> >>@@ -718,7 +718,7 @@ struct drm_i915_gem_execbuffer2 {
> >>  #define I915_EXEC_CONSTANTS_REL_SURFACE (2<<6) /* gen4/5 only */
> >>  	__u64 flags;
> >>  	__u64 rsvd1; /* now used for context info */
> >>-	__u64 rsvd2;
> >>+	__u64 rsvd2; /* now used for fence fd */
> >If we are going to use this slot for fence fd, may as well make it
> >supply both before/after.
> 
> Not sure what you mean by before/after?
> 
> In the future it will take in the input fence fd and return the output fence
> if that's what you mean.

BTW, couldn't we take 32bits here and leave 32bits reserved?

-- 
Damien


More information about the Intel-gfx mailing list