]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc328e62c08442ce504e8e92b2413116d6a669125
tree8018f498e8af81bebd649955dfca1696a8975459
parentaa2105c7aa3a369ebec516d3cb91dc7eea541026
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