[PATCH] drm/exynos: fix layering violation of address

2015-09-21 Thread Gustavo Padovan
Hi Joonyoung, 2015-09-16 Joonyoung Shim : > There is no guarantee that DMA addresses are the same as physical > addresses, but dma_to_pfn() knows how to convert a dma_addr_t to a PFN > which can then be converted to a struct page. > > Suggested-by: Russell King > Signed-off-by: Joonyoung Shim

[PATCH] drm/exynos: fix layering violation of address

2015-09-16 Thread Joonyoung Shim
There is no guarantee that DMA addresses are the same as physical addresses, but dma_to_pfn() knows how to convert a dma_addr_t to a PFN which can then be converted to a struct page. Suggested-by: Russell King Signed-off-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 3 ++- 1