]> 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)
commit993237a174b574b9e96774b71607ec2f16c9d3e2
tree8fc2768de2a2e7426f6ff33299ca18f0b705fd51
parent5b112022e6ffd72b224419c8e40bf67b48ace951
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