commit | 930dc19c0b7278c26c85f05f92cb417f2bd28aa3 | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Fri Apr 21 00:33:57 2017 +0300 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Fri Jun 02 10:57:07 2017 +0300 |
tree | 7a7694930ad10791e9c19f8b1d0fdd9a0a879a32 | |
parent | 24fbaca0e20acebfcdf7468f03465d5b1966c314 [diff] |
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>