drm/exynos: gem: Get rid of the internal 'pages' array
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 23 Apr 2020 05:43:49 +0000 (14:43 +0900)
committerInki Dae <inki.dae@samsung.com>
Mon, 18 May 2020 02:36:00 +0000 (11:36 +0900)
commit9940d9d93406f41ad4dc69fa2cda1e059a7ca108
tree8018f498e8af81bebd649955dfca1696a8975459
parent24f6fe796a964f1cba75030dbea297d7fb2f30cb
drm/exynos: gem: Get rid of the internal 'pages' array

Internal pages array and scatter-list for them is not really needed for
anything. FBDev emulation can simply rely on the DMA-mapping framework
to create a proper kernel mapping for the buffer, while all other buffer
use cases don't really need that array at all.

Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fbdev.c
drivers/gpu/drm/exynos/exynos_drm_gem.c
drivers/gpu/drm/exynos/exynos_drm_gem.h