diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2017-11-22 16:14:47 +0300 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2017-12-07 03:32:02 +0300 |
commit | 120a264f9c2782682027d931d83dcbd22e01da80 (patch) | |
tree | 046616c05f4cdd368eb352751d5e28ba181facb4 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
parent | 89452d4ab20745002e50ecf90979708f1ce1d077 (diff) | |
download | linux-120a264f9c2782682027d931d83dcbd22e01da80.tar.xz |
drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU
When no IOMMU is available, all GEM buffers allocated by Exynos DRM driver
are contiguous, because of the underlying dma_alloc_attrs() function
provides only such buffers. In such case it makes no sense to keep
BO_NONCONTIG flag for the allocated GEM buffers. This allows to avoid
failures for buffer contiguity checks in the subsequent operations on GEM
objects.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
CC: stable@vger.kernel.org # v4.4+
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions