diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2017-04-21 00:33:57 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2017-06-02 10:57:07 +0300 |
commit | 930dc19c0b7278c26c85f05f92cb417f2bd28aa3 (patch) | |
tree | 7a7694930ad10791e9c19f8b1d0fdd9a0a879a32 /drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | |
parent | 24fbaca0e20acebfcdf7468f03465d5b1966c314 (diff) | |
download | linux-930dc19c0b7278c26c85f05f92cb417f2bd28aa3.tar.bz2 |
drm: omapdrm: DMA-unmap pages for all buffer types when freeing buffers
Both coherent (uncached) and non-coherent (cached) buffers can have
their pages mapped to the device through the DMA mapping API. Make sure
to unmap any mapped page when freeing a buffer, regardless of its type.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c')
0 files changed, 0 insertions, 0 deletions