drm/exynos: allocate non-contigous buffers when iommu is enabled
authorRahul Sharma <Rahul.Sharma@samsung.com>
Wed, 7 May 2014 11:51:29 +0000 (17:21 +0530)
committerInki Dae <daeinki@gmail.com>
Sun, 1 Jun 2014 17:07:09 +0000 (02:07 +0900)
commit122beea84bb90236b1ae545f08267af58591c21b
tree8fc2768de2a2e7426f6ff33299ca18f0b705fd51
parente2a562dce87c34c44b1981dea31f93b0eb50614c
drm/exynos: allocate non-contigous buffers when iommu is enabled

Allow to allocate non-contigous buffers when iommu is enabled.
Currently, it tries to allocates contigous buffer which consistently
fail for large buffers and then fall back to non contigous. Apart
from being slow, this implementation is also very noisy and fills
the screen with alloc fail logs.

Signed-off-by: Rahul Sharma <Rahul.Sharma@samsung.com>
Reviewed-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gem.c