diff options
author | Inki Dae <inki.dae@samsung.com> | 2012-12-26 18:06:01 +0900 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2013-01-04 15:54:32 +0900 |
commit | 694be458794da6415288978c7b5f8288ae2dc5c3 (patch) | |
tree | 5947527c4737a05be794afa84c185e6451b3c256 /drivers/gpu/drm/exynos/exynos_drm_ipp.c | |
parent | d81aecb5e680311e1f3fd71e49e6a4072d2374d2 (diff) | |
download | blackbird-obmc-linux-694be458794da6415288978c7b5f8288ae2dc5c3.tar.gz blackbird-obmc-linux-694be458794da6415288978c7b5f8288ae2dc5c3.zip |
drm/exynos: consider buffer allocation without iommu
This patch fixes the issue that when buffer allocation is requested
without iommu, the allocation is failed.
Without iommu, dma_alloc_attrs function allocates some memory region
and returns cpu address so this patch makes the cpu address to be set
to buf->kvaddr correctly.
Changelog v2:
- fix buffer free
. Without iommu, dma_free_attrs function requires kernel space address
as argument. So it changes the argument, buf->pages to buf->kvaddr.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_ipp.c')
0 files changed, 0 insertions, 0 deletions