[PATCH v4] DRM: add DRM Driver for Samsung SoC EXYNOS4210.
Rob Clark
robdclark at gmail.com
Wed Sep 21 09:40:06 EDT 2011
On Wed, Sep 21, 2011 at 7:41 AM, Marek Szyprowski
<m.szyprowski at samsung.com> wrote:
>> I'm not entirely sure what will happen w/ dma_alloc_coherent, etc, if
>> the global CMA pool is exhausted.
>>
>> Marek? I guess you know what would happen?
>
> The allocation will simply fail and dma_alloc_coherent will return NULL.
>
Ok, so we should probably setup device private pools so that userspace
cannot allocate so much buffer memory that dma_alloc_coherent fails
for other devices..
This is what I've done so far for omapdrm driver, although it is part
of the other patch that adds the platform-device..
Thx
BR,
-R
More information about the linux-arm-kernel
mailing list