author | Vaibhav Hiremath <hvaibhav@ti.com> | |
Mon, 28 Nov 2011 06:48:27 +0000 (12:18 +0530) | ||
committer | Vaibhav Hiremath <hvaibhav@ti.com> | |
Mon, 23 Jan 2012 19:14:38 +0000 (00:44 +0530) | ||
commit | f482ac5b63e0fc84c546cb463e4dea5e02682516 | |
tree | c11f13225dc4b256a7d8d05941342fe70cf30ae5 | tree | snapshot (tar.xz tar.gz zip) |
parent | 49b3dc5ea4ee5b79a01ad8e8a6e56942f30dd316 | commit | diff |
video:da8xx: Replace dma_alloc_coherent tp get_free_pages
dma-alloc_coherent supports limited memory allocation, which leads
to failure some time, and always without CONSISTENT_DMA_SIZE defination.
For safe allocation, change dma_alloc_coherent to get_free_pages and
mark the pages as reserved.
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
dma-alloc_coherent supports limited memory allocation, which leads
to failure some time, and always without CONSISTENT_DMA_SIZE defination.
For safe allocation, change dma_alloc_coherent to get_free_pages and
mark the pages as reserved.
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
drivers/video/da8xx-fb.c | diff | blob | history |