Re: [PATCH v2 09/10] drm: omapdrm: Map pages for DMA in DMA_TO_DEVICE direction

2017-04-27 Thread Tomi Valkeinen
On 21/04/17 00:33, Laurent Pinchart wrote: > The display engine only reads from memory, there's no need to use > bidirectional DMA mappings. Use DMA_TO_DEVICE instead. > > Signed-off-by: Laurent Pinchart > --- > drivers/gpu/drm/omapdrm/omap_gem.c| 11 +-- > drivers/gpu/drm/omapdr

[PATCH v2 09/10] drm: omapdrm: Map pages for DMA in DMA_TO_DEVICE direction

2017-04-20 Thread Laurent Pinchart
The display engine only reads from memory, there's no need to use bidirectional DMA mappings. Use DMA_TO_DEVICE instead. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/omap_gem.c| 11 +-- drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | 4 ++-- 2 files changed, 7 inserti