drm: omapdrm: Map pages for DMA in DMA_TO_DEVICE direction
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 20 Apr 2017 21:33:58 +0000 (00:33 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 2 Jun 2017 07:57:08 +0000 (10:57 +0300)
commit97817fd46518aa2f457ce41f6a9aecd36b461426
tree5c5daa64ada96ac4be65b2e190168935d61eb973
parent930dc19c0b7278c26c85f05f92cb417f2bd28aa3
drm: omapdrm: Map pages for DMA in DMA_TO_DEVICE direction

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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_gem.c
drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c