[PATCH v4] DRM: add drm gem CMA helper

2012-08-09 Thread Dave Airlie
On Thu, Aug 9, 2012 at 2:31 AM, Laurent Pinchart wrote: > Hi Lars, > > On Wednesday 08 August 2012 18:25:30 Lars-Peter Clausen wrote: >> On 08/08/2012 04:44 PM, Laurent Pinchart wrote: >> > On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: >> >> Many embedded drm devices do not have a IOMMU a

[PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Laurent Pinchart
Hi Dave, On Thursday 09 August 2012 07:02:45 Dave Airlie wrote: > On Thu, Aug 9, 2012 at 2:31 AM, Laurent Pinchart wrote: > > On Wednesday 08 August 2012 18:25:30 Lars-Peter Clausen wrote: > >> On 08/08/2012 04:44 PM, Laurent Pinchart wrote: > >> > On Wednesday 27 June 2012 15:30:18 Sascha Hauer w

[PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Laurent Pinchart
Hi Lars, On Wednesday 08 August 2012 18:25:30 Lars-Peter Clausen wrote: > On 08/08/2012 04:44 PM, Laurent Pinchart wrote: > > On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: > >> Many embedded drm devices do not have a IOMMU and no dedicated > >> memory for graphics. These devices use CMA (

[PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Lars-Peter Clausen
On 08/08/2012 04:44 PM, Laurent Pinchart wrote: > Hi Sascha, > > On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: >> Many embedded drm devices do not have a IOMMU and no dedicated >> memory for graphics. These devices use CMA (Contiguous Memory >> Allocator) backed graphics memory. This patc

[PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Laurent Pinchart
Hi Sascha, On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: > Many embedded drm devices do not have a IOMMU and no dedicated > memory for graphics. These devices use CMA (Contiguous Memory > Allocator) backed graphics memory. This patch provides helper > functions to be able to share the cod

Re: [PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Laurent Pinchart
Hi Dave, On Thursday 09 August 2012 07:02:45 Dave Airlie wrote: > On Thu, Aug 9, 2012 at 2:31 AM, Laurent Pinchart wrote: > > On Wednesday 08 August 2012 18:25:30 Lars-Peter Clausen wrote: > >> On 08/08/2012 04:44 PM, Laurent Pinchart wrote: > >> > On Wednesday 27 June 2012 15:30:18 Sascha Hauer w

Re: [PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Dave Airlie
On Thu, Aug 9, 2012 at 2:31 AM, Laurent Pinchart wrote: > Hi Lars, > > On Wednesday 08 August 2012 18:25:30 Lars-Peter Clausen wrote: >> On 08/08/2012 04:44 PM, Laurent Pinchart wrote: >> > On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: >> >> Many embedded drm devices do not have a IOMMU a

Re: [PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Laurent Pinchart
Hi Lars, On Wednesday 08 August 2012 18:25:30 Lars-Peter Clausen wrote: > On 08/08/2012 04:44 PM, Laurent Pinchart wrote: > > On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: > >> Many embedded drm devices do not have a IOMMU and no dedicated > >> memory for graphics. These devices use CMA (

Re: [PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Lars-Peter Clausen
On 08/08/2012 04:44 PM, Laurent Pinchart wrote: > Hi Sascha, > > On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: >> Many embedded drm devices do not have a IOMMU and no dedicated >> memory for graphics. These devices use CMA (Contiguous Memory >> Allocator) backed graphics memory. This patc

Re: [PATCH v4] DRM: add drm gem CMA helper

2012-08-08 Thread Laurent Pinchart
Hi Sascha, On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: > Many embedded drm devices do not have a IOMMU and no dedicated > memory for graphics. These devices use CMA (Contiguous Memory > Allocator) backed graphics memory. This patch provides helper > functions to be able to share the cod

[PATCH v4] DRM: add drm gem CMA helper

2012-07-18 Thread Lars-Peter Clausen
On 06/27/2012 03:30 PM, Sascha Hauer wrote: > Many embedded drm devices do not have a IOMMU and no dedicated > memory for graphics. These devices use CMA (Contiguous Memory > Allocator) backed graphics memory. This patch provides helper > functions to be able to share the code. The code technically

Re: [PATCH v4] DRM: add drm gem CMA helper

2012-07-18 Thread Lars-Peter Clausen
On 06/27/2012 03:30 PM, Sascha Hauer wrote: > Many embedded drm devices do not have a IOMMU and no dedicated > memory for graphics. These devices use CMA (Contiguous Memory > Allocator) backed graphics memory. This patch provides helper > functions to be able to share the code. The code technically

[PATCH v4] DRM: add drm gem CMA helper

2012-06-27 Thread Laurent Pinchart
Hi Sascha, Thanks for the patch. Just one small comment below. On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: [snip] > +/* > + * drm_gem_cma_dumb_create - (struct drm_driver)->dumb_create callback > + * function > + * > + * This aligns the pitch and size arguments to the minimum requir

[PATCH v4] DRM: add drm gem CMA helper

2012-06-27 Thread Sascha Hauer
Many embedded drm devices do not have a IOMMU and no dedicated memory for graphics. These devices use CMA (Contiguous Memory Allocator) backed graphics memory. This patch provides helper functions to be able to share the code. The code technically does not depend on CMA as the backend allocator, th

Re: [PATCH v4] DRM: add drm gem CMA helper

2012-06-27 Thread Laurent Pinchart
Hi Sascha, Thanks for the patch. Just one small comment below. On Wednesday 27 June 2012 15:30:18 Sascha Hauer wrote: [snip] > +/* > + * drm_gem_cma_dumb_create - (struct drm_driver)->dumb_create callback > + * function > + * > + * This aligns the pitch and size arguments to the minimum requir

[PATCH v4] DRM: add drm gem CMA helper

2012-06-27 Thread Sascha Hauer
Many embedded drm devices do not have a IOMMU and no dedicated memory for graphics. These devices use CMA (Contiguous Memory Allocator) backed graphics memory. This patch provides helper functions to be able to share the code. The code technically does not depend on CMA as the backend allocator, th