Hi The recent discussion under the 'drm/prime: fix extracting of the DMA addresses from a scatterlist' [1] patch inspired me to take a look again into the Exynos DRM GEM internals. I've made a little cleanup and reworked some parts to make them more error proof for the various corner-cases. [1] https://patchwork.freedesktop.org/patch/359081/ patch Best regards Marek Szyprowski Samsung R&D Institute Poland Patch summary: Marek Szyprowski (3): drm/exynos: gem: Remove dead-code drm/exynos: gem: Rework scatter-list contiguity check on Prime import drm/exynos: gem: Get rid of the internal 'pages' array drivers/gpu/drm/exynos/exynos_drm_drv.c | 1 - drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 28 +--- drivers/gpu/drm/exynos/exynos_drm_gem.c | 178 ++++++++-------------- drivers/gpu/drm/exynos/exynos_drm_gem.h | 16 +- 4 files changed, 66 insertions(+), 157 deletions(-) -- 2.17.1 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel