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

Gustavo Padovan gustavo at padovan.org
Mon Sep 21 09:06:36 PDT 2015


Hi Joonyoung,

2015-09-16 Joonyoung Shim <jy0922.shim at samsung.com>:

> 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 <rmk+kernel at arm.linux.org.uk>
> Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
> ---
>  drivers/gpu/drm/exynos/exynos_drm_gem.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Gustavo Padovan <gustavo.padovan at collabora.co.uk>

	Gustavo


More information about the dri-devel mailing list