[PATCH] drm/exynos: consider buffer allocation without iommu

2012-12-26 Thread Inki Dae
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. Signed-off-by: Inki Dae

[PATCH] drm/exynos: consider buffer allocation without iommu

2012-12-26 Thread Inki Dae
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. Signed-off-by: Inki Dae