Re: [RFC] libdrm_intel: Add support for userptr objects

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 08, 2014 at 05:10:24PM -0700, Ben Widawsky wrote:
> On Wed, Feb 26, 2014 at 04:41:41PM +0000, Tvrtko Ursulin wrote:
> > +struct drm_i915_gem_userptr {
> > +	__u64 user_ptr;
> > +	__u64 user_size;
> > +	__u32 flags;
> > +#define I915_USERPTR_READ_ONLY 0x1
> > +#define I915_USERPTR_UNSYNCHRONIZED 0x80000000
> > +	/**
> > +	* Returned handle for the object.
> > +	*
> > +	* Object handles are nonzero.
> > +	*/
> > +	__u32 handle;
> > +};
> > +
> 
> Oh yeah. I want a ctx_id here as well. Chris, any objection to adding
> this?

What for? bo are file-scoped not context-scoped.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux