Re: [PATCH 2/2] drm/omap: add OMAP_BO flags to affect buffer allocation

2017-08-14 Thread Laurent Pinchart
Hi Tomi, CC'ing Daniel. On Monday 14 Aug 2017 14:02:16 Tomi Valkeinen wrote: > Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. > Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki > On 11/08/17 17:23, Laurent Pinchart wrote: > > On Monday 08 May 2017 11:51:22 Tomi Valk

Re: [PATCH 2/2] drm/omap: add OMAP_BO flags to affect buffer allocation

2017-08-14 Thread Tomi Valkeinen
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 11/08/17 17:23, Laurent Pinchart wrote: > Hi Tomi, > > Thank you for the patch. > > On Monday 08 May 2017 11:51:22 Tomi Valkeinen wrote: >> On SoCs with TILER, w

Re: [PATCH 2/2] drm/omap: add OMAP_BO flags to affect buffer allocation

2017-08-11 Thread Laurent Pinchart
Hi Tomi, Thank you for the patch. On Monday 08 May 2017 11:51:22 Tomi Valkeinen wrote: > On SoCs with TILER, we have to ways to allocate buffers: normal s/to ways/two ways/ > dma_alloc or via TILER (which basically functions as an IOMMU). TILER > can map 128MB at a time, and we only map the TIL

[PATCH 2/2] drm/omap: add OMAP_BO flags to affect buffer allocation

2017-05-08 Thread Tomi Valkeinen
On SoCs with TILER, we have to ways to allocate buffers: normal dma_alloc or via TILER (which basically functions as an IOMMU). TILER can map 128MB at a time, and we only map the TILER buffers when they are used (i.e. not at alloc time). If TILER is present, omapdrm always uses TILER. There are us