]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb86061ccbd21c2c3d91bb9569d4fc1cfde86c915
tree8fc2768de2a2e7426f6ff33299ca18f0b705fd51
parentf6ed7e06c1e095e3e2b8ac4d6e24d5300e937d66
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