[PATCH] drm: base prime/dma-buf support (v5)

2012-03-28 Thread InKi Dae
2012? 3? 28? Sumit Semwal?? ??: > > On Mar 27, 2012 9:18 PM, "Rob Clark" wrote: >> >> On Tue, Mar 27, 2012 at 6:46 AM, Daniel Vetter wrote: >> > On Tue, Mar 27, 2012 at 10:47:46AM +0100, Dave Airlie wrote: >> >> From: Dave Airlie >> >> >> >> This adds the basic drm dma-buf interface layer,

Re: [Linaro-mm-sig] [PATCH] drm: base prime/dma-buf support (v5)

2012-03-27 Thread Sumit Semwal
On Mar 27, 2012 9:18 PM, "Rob Clark" wrote: > > On Tue, Mar 27, 2012 at 6:46 AM, Daniel Vetter wrote: > > On Tue, Mar 27, 2012 at 10:47:46AM +0100, Dave Airlie wrote: > >> From: Dave Airlie > >> > >> This adds the basic drm dma-buf interface layer, called PRIME, > >> > >> The main APIs exposed t

[Linaro-mm-sig] [PATCH] drm: base prime/dma-buf support (v5)

2012-03-27 Thread Sumit Semwal
On Mar 27, 2012 9:18 PM, "Rob Clark" wrote: > > On Tue, Mar 27, 2012 at 6:46 AM, Daniel Vetter wrote: > > On Tue, Mar 27, 2012 at 10:47:46AM +0100, Dave Airlie wrote: > >> From: Dave Airlie > >> > >> This adds the basic drm dma-buf interface layer, called PRIME, > >> > >> The main APIs exposed t

Re: [Linaro-mm-sig] [PATCH] drm: base prime/dma-buf support (v5)

2012-03-27 Thread Ben Widawsky
On Tue, 27 Mar 2012 10:47:46 +0100 Dave Airlie wrote: > From: Dave Airlie > > This adds the basic drm dma-buf interface layer, called PRIME, > > The main APIs exposed to userspace allow translating a 32-bit object > handle to a file descriptor, and a file descriptor to a 32-bit object > handle

[Linaro-mm-sig] [PATCH] drm: base prime/dma-buf support (v5)

2012-03-27 Thread Ben Widawsky
On Tue, 27 Mar 2012 10:47:46 +0100 Dave Airlie wrote: > From: Dave Airlie > > This adds the basic drm dma-buf interface layer, called PRIME, > > The main APIs exposed to userspace allow translating a 32-bit object > handle to a file descriptor, and a file descriptor to a 32-bit object > handle

[Linaro-mm-sig] [PATCH] drm: base prime/dma-buf support (v5)

2012-03-27 Thread Daniel Vetter
On Tue, Mar 27, 2012 at 10:47:46AM +0100, Dave Airlie wrote: > From: Dave Airlie > > This adds the basic drm dma-buf interface layer, called PRIME, > > The main APIs exposed to userspace allow translating a 32-bit object handle > to a file descriptor, and a file descriptor to a 32-bit object han

[Linaro-mm-sig] [PATCH] drm: base prime/dma-buf support (v5)

2012-03-27 Thread Rob Clark
On Tue, Mar 27, 2012 at 6:46 AM, Daniel Vetter wrote: > On Tue, Mar 27, 2012 at 10:47:46AM +0100, Dave Airlie wrote: >> From: Dave Airlie >> >> This adds the basic drm dma-buf interface layer, called PRIME, >> >> The main APIs exposed to userspace allow translating a 32-bit object handle >> to a

[PATCH] drm: base prime/dma-buf support (v5)

2012-03-27 Thread Dave Airlie
From: Dave Airlie This adds the basic drm dma-buf interface layer, called PRIME, The main APIs exposed to userspace allow translating a 32-bit object handle to a file descriptor, and a file descriptor to a 32-bit object handle. The flags value is currently limited to O_CLOEXEC. Acknowledgement

Re: [PATCH] drm: base prime/dma-buf support (v5)

2012-03-27 Thread InKi Dae
2012년 3월 28일 수요일에 Sumit Semwal님이 작성: > > On Mar 27, 2012 9:18 PM, "Rob Clark" wrote: >> >> On Tue, Mar 27, 2012 at 6:46 AM, Daniel Vetter wrote: >> > On Tue, Mar 27, 2012 at 10:47:46AM +0100, Dave Airlie wrote: >> >> From: Dave Airlie >> >> >> >> This adds the basic drm dma-buf interface layer,

Re: [Linaro-mm-sig] [PATCH] drm: base prime/dma-buf support (v5)

2012-03-27 Thread Rob Clark
On Tue, Mar 27, 2012 at 6:46 AM, Daniel Vetter wrote: > On Tue, Mar 27, 2012 at 10:47:46AM +0100, Dave Airlie wrote: >> From: Dave Airlie >> >> This adds the basic drm dma-buf interface layer, called PRIME, >> >> The main APIs exposed to userspace allow translating a 32-bit object handle >> to a

Re: [Linaro-mm-sig] [PATCH] drm: base prime/dma-buf support (v5)

2012-03-27 Thread Daniel Vetter
On Tue, Mar 27, 2012 at 10:47:46AM +0100, Dave Airlie wrote: > From: Dave Airlie > > This adds the basic drm dma-buf interface layer, called PRIME, > > The main APIs exposed to userspace allow translating a 32-bit object handle > to a file descriptor, and a file descriptor to a 32-bit object han

[PATCH] drm: base prime/dma-buf support (v5)

2012-03-27 Thread Dave Airlie
From: Dave Airlie This adds the basic drm dma-buf interface layer, called PRIME, The main APIs exposed to userspace allow translating a 32-bit object handle to a file descriptor, and a file descriptor to a 32-bit object handle. The flags value is currently limited to O_CLOEXEC. Acknowledgement

[PATCH] drm: base prime/dma-buf support

2012-03-27 Thread daei...@gmail.com
Reviewed-by: Inki Dae 2012. 3. 27. ?? 12:02 Dave Airlie ??: > From: Dave Airlie > > This adds the basic drm dma-buf interface layer, called PRIME, > > The main APIs exposed to userspace allow translating a 32-bit object handle > to a file descriptor, and a file descriptor to a 32-bit object

[PATCH] drm: base prime/dma-buf support

2012-03-26 Thread Ville Syrjälä
On Mon, Mar 26, 2012 at 04:02:55PM +0100, Dave Airlie wrote: > +int drm_gem_prime_handle_to_fd(struct drm_device *dev, > + struct drm_file *file_priv, uint32_t handle, uint32_t flags, > + int *prime_fd) > +{ > + struct drm_gem_object *obj; > + > + obj = drm_gem_obje

[PATCH] drm: base prime/dma-buf support

2012-03-26 Thread Dave Airlie
From: Dave Airlie This adds the basic drm dma-buf interface layer, called PRIME, The main APIs exposed to userspace allow translating a 32-bit object handle to a file descriptor, and a file descriptor to a 32-bit object handle. The flags value is currently limited to O_CLOEXEC. Acknowledgement

Re: [PATCH] drm: base prime/dma-buf support

2012-03-26 Thread Ville Syrjälä
On Mon, Mar 26, 2012 at 04:02:55PM +0100, Dave Airlie wrote: > +int drm_gem_prime_handle_to_fd(struct drm_device *dev, > + struct drm_file *file_priv, uint32_t handle, uint32_t flags, > + int *prime_fd) > +{ > + struct drm_gem_object *obj; > + > + obj = drm_gem_obje

Re: [PATCH] drm: base prime/dma-buf support

2012-03-26 Thread daeinki
Reviewed-by: Inki Dae 2012. 3. 27. 오전 12:02 Dave Airlie 작성: > From: Dave Airlie > > This adds the basic drm dma-buf interface layer, called PRIME, > > The main APIs exposed to userspace allow translating a 32-bit object handle > to a file descriptor, and a file descriptor to a 32-bit object

[PATCH] drm: base prime/dma-buf support

2012-03-26 Thread Dave Airlie
From: Dave Airlie This adds the basic drm dma-buf interface layer, called PRIME, The main APIs exposed to userspace allow translating a 32-bit object handle to a file descriptor, and a file descriptor to a 32-bit object handle. The flags value is currently limited to O_CLOEXEC. Acknowledgement