Re: [PATCH v3 1/3] drm: add prime helpers

2013-06-18 Thread Laurent Pinchart
Hi Aaron, A bit late, but here's a small question. On Tuesday 15 January 2013 12:47:42 Aaron Plattner wrote: Instead of reimplementing all of the dma_buf functionality in every driver, create helpers drm_prime_import and drm_prime_export that implement them in terms of new, lower-level hook

Re: [PATCH v3 1/3] drm: add prime helpers

2013-06-18 Thread Aaron Plattner
On 06/18/2013 04:08 PM, Laurent Pinchart wrote: Hi Aaron, A bit late, but here's a small question. On Tuesday 15 January 2013 12:47:42 Aaron Plattner wrote: Instead of reimplementing all of the dma_buf functionality in every driver, create helpers drm_prime_import and drm_prime_export that

Re: [PATCH v3 1/3] drm: add prime helpers

2013-06-18 Thread Laurent Pinchart
Hi Aaron, On Tuesday 18 June 2013 16:28:15 Aaron Plattner wrote: On 06/18/2013 04:08 PM, Laurent Pinchart wrote: Hi Aaron, A bit late, but here's a small question. On Tuesday 15 January 2013 12:47:42 Aaron Plattner wrote: Instead of reimplementing all of the dma_buf functionality

Re: [PATCH v3 1/3] drm: add prime helpers

2013-06-18 Thread Aaron Plattner
On 06/18/2013 04:37 PM, Laurent Pinchart wrote: Hi Aaron, On Tuesday 18 June 2013 16:28:15 Aaron Plattner wrote: On 06/18/2013 04:08 PM, Laurent Pinchart wrote: Hi Aaron, A bit late, but here's a small question. On Tuesday 15 January 2013 12:47:42 Aaron Plattner wrote: Instead of

Re: [PATCH v3 1/3] drm: add prime helpers

2013-04-12 Thread Daniel Vetter
On Tue, Jan 15, 2013 at 12:47:42PM -0800, Aaron Plattner wrote: Instead of reimplementing all of the dma_buf functionality in every driver, create helpers drm_prime_import and drm_prime_export that implement them in terms of new, lower-level hook functions: gem_prime_pin: callback when a

Re: [PATCH v3 1/3] drm: add prime helpers

2013-04-12 Thread Aaron Plattner
On 04/12/13 07:58, Daniel Vetter wrote: On Tue, Jan 15, 2013 at 12:47:42PM -0800, Aaron Plattner wrote: Instead of reimplementing all of the dma_buf functionality in every driver, create helpers drm_prime_import and drm_prime_export that implement them in terms of new, lower-level hook

Re: [PATCH v3 1/3] drm: add prime helpers

2013-04-12 Thread Daniel Vetter
On Fri, Apr 12, 2013 at 5:13 PM, Aaron Plattner aplatt...@nvidia.com wrote: @@ -117,6 +249,58 @@ int drm_gem_prime_handle_to_fd(struct drm_device *dev, } EXPORT_SYMBOL(drm_gem_prime_handle_to_fd); +struct drm_gem_object *drm_gem_prime_import(struct drm_device *dev, +

Re: [PATCH v3 1/3] drm: add prime helpers

2013-01-17 Thread Daniel Vetter
On Thu, Jan 17, 2013 at 12:36 AM, Aaron Plattner aplatt...@nvidia.com wrote: Can I consider this a Reviewed-by? Essentially it was just a drive-by bikeshed ;-) I think it'd be good if Maarten takes a look at this and checks whether it complies with his massive prime/dma_buf rework to use fences

Re: [PATCH v3 1/3] drm: add prime helpers

2013-01-16 Thread Daniel Vetter
On Tue, Jan 15, 2013 at 12:47:42PM -0800, Aaron Plattner wrote: Instead of reimplementing all of the dma_buf functionality in every driver, create helpers drm_prime_import and drm_prime_export that implement them in terms of new, lower-level hook functions: gem_prime_pin: callback when a

Re: [PATCH v3 1/3] drm: add prime helpers

2013-01-16 Thread Aaron Plattner
On 01/16/2013 01:50 AM, Daniel Vetter wrote: On Tue, Jan 15, 2013 at 12:47:42PM -0800, Aaron Plattner wrote: Instead of reimplementing all of the dma_buf functionality in every driver, create helpers drm_prime_import and drm_prime_export that implement them in terms of new, lower-level hook