]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: fix layering violation of address
authorJoonyoung Shim <jy0922.shim@samsung.com>
Wed, 16 Sep 2015 05:16:45 +0000 (14:16 +0900)
committerInki Dae <inki.dae@samsung.com>
Wed, 30 Sep 2015 07:39:40 +0000 (16:39 +0900)
commitaf66e2e79b0565b7210bf6df6826a8c5d555d197
tree3b5a0176c134d73a99bbd77be666f0de52b1785a
parent635f6b17d6e1dccb132551477fee17538720ced7
drm/exynos: fix layering violation of address

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@arm.linux.org.uk>
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gem.c