drm/exynos: gem: retry without FORCE_CONTIGUOUS when IOMMU is available
authorMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 26 Feb 2015 09:30:45 +0000 (10:30 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 14 Dec 2016 04:44:06 +0000 (13:44 +0900)
commit710af58636fd19d9cd63fe19cb124c8a06859db7
tree3c5ccc731c86e0ce86c328c2b48fc72ac4c0ab05
parent4806dab5d06f50b6cdbf3bc7cc8759102c2915e2
drm/exynos: gem: retry without FORCE_CONTIGUOUS when IOMMU is available

When IOMMU is available, drivers can operate even on non-contiguous
buffers (with some performance penalty). If allocation with
FORCE_CONTIGUOUS attribute is set, iommu is available and allocation fails,
then retry allocation without this flag set.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_buf.c