diff options
| author | 2017-04-21 00:33:57 +0300 | |
|---|---|---|
| committer | 2017-06-02 10:57:07 +0300 | |
| commit | 930dc19c0b7278c26c85f05f92cb417f2bd28aa3 (patch) | |
| tree | 7a7694930ad10791e9c19f8b1d0fdd9a0a879a32 /drivers/gpu/drm/omapdrm/omap_gem_dmabuf.c | |
| parent | drm: omapdrm: Fix incorrect usage of the term 'cache coherency' (diff) | |
| download | linux-dev-930dc19c0b7278c26c85f05f92cb417f2bd28aa3.tar.xz linux-dev-930dc19c0b7278c26c85f05f92cb417f2bd28aa3.zip | |
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
