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

2013-01-03 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. Changelog v2: - fix buf

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

2013-01-02 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. Changelog v2: - fix buf