Re: [PATCH] drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU

2017-11-16 Thread Marek Szyprowski
Hi Inki, On 2017-11-14 00:46, Inki Dae wrote: 2017년 11월 13일 23:28에 Marek Szyprowski 이(가) 쓴 글: On 2017-11-13 02:24, Inki Dae wrote: 2017년 11월 10일 16:35에 Marek Szyprowski 이(가) 쓴 글: On 2017-11-10 04:04, Inki Dae wrote: 2017년 11월 01일 01:28에 Marek Szyprowski 이(가) 쓴 글: When no IOMMU is available,

Re: [PATCH] drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU

2017-11-13 Thread Inki Dae
2017년 11월 13일 23:28에 Marek Szyprowski 이(가) 쓴 글: > Hi Inki, > > On 2017-11-13 02:24, Inki Dae wrote: >> Hi Marek, >> >> 2017년 11월 10일 16:35에 Marek Szyprowski 이(가) 쓴 글: >>> Dear Inki, >>> >>> On 2017-11-10 04:04, Inki Dae wrote: 2017년 11월 01일 01:28에 Marek Szyprowski 이(가) 쓴 글: > When no IO

Re: [PATCH] drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU

2017-11-13 Thread Marek Szyprowski
Hi Inki, On 2017-11-13 02:24, Inki Dae wrote: Hi Marek, 2017년 11월 10일 16:35에 Marek Szyprowski 이(가) 쓴 글: Dear Inki, On 2017-11-10 04:04, Inki Dae wrote: 2017년 11월 01일 01:28에 Marek Szyprowski 이(가) 쓴 글: When no IOMMU is available, all GEM buffers allocated by Exynos DRM driver are contiguous,

Re: [PATCH] drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU

2017-11-12 Thread Inki Dae
Hi Marek, 2017년 11월 10일 16:35에 Marek Szyprowski 이(가) 쓴 글: > Dear Inki, > > On 2017-11-10 04:04, Inki Dae wrote: >> 2017년 11월 01일 01:28에 Marek Szyprowski 이(가) 쓴 글: >>> When no IOMMU is available, all GEM buffers allocated by Exynos DRM driver >>> are contiguous, because of the underlying dma_alloc

Re: [PATCH] drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU

2017-11-09 Thread Marek Szyprowski
Dear Inki, On 2017-11-10 04:04, Inki Dae wrote: 2017년 11월 01일 01:28에 Marek Szyprowski 이(가) 쓴 글: 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 se

Re: [PATCH] drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU

2017-11-09 Thread Inki Dae
2017년 11월 01일 01:28에 Marek Szyprowski 이(가) 쓴 글: > 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 What if user disabled CMA suppo

Re: [PATCH] drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU

2017-11-02 Thread Inki Dae
Hi Marek, 2017년 11월 02일 15:51에 Marek Szyprowski 이(가) 쓴 글: > Hi Inki, > > On 2017-11-01 07:31, Inki Dae wrote: >> 2017년 11월 01일 01:28에 Marek Szyprowski 이(가) 쓴 글: >>> When no IOMMU is available, all GEM buffers allocated by Exynos DRM driver >>> are contiguous, because of the underlying dma_alloc_a

Re: [PATCH] drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU

2017-11-01 Thread Marek Szyprowski
Hi Inki, On 2017-11-01 07:31, Inki Dae wrote: 2017년 11월 01일 01:28에 Marek Szyprowski 이(가) 쓴 글: 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 sens

Re: [PATCH] drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU

2017-10-31 Thread Inki Dae
2017년 11월 01일 01:28에 Marek Szyprowski 이(가) 쓴 글: > 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 allo

[PATCH] drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU

2017-10-31 Thread Marek Szyprowski
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 buffe