Re: [PATCH] drm/mediatek: make imported PRIME buffers contiguous

2019-07-28 Thread Alexandre Courbot
On Wed, Jul 24, 2019 at 2:49 PM CK Hu wrote: > > Hi, Alexandre: > > On Tue, 2019-07-23 at 14:34 +0900, Alexandre Courbot wrote: > > This driver requires imported PRIME buffers to appear contiguously in > > its IO address space. Make sure this is the case by setting the maximum > > DMA segment

Re: [PATCH] drm/mediatek: make imported PRIME buffers contiguous

2019-07-23 Thread CK Hu
Hi, Alexandre: On Tue, 2019-07-23 at 14:34 +0900, Alexandre Courbot wrote: > This driver requires imported PRIME buffers to appear contiguously in > its IO address space. Make sure this is the case by setting the maximum > DMA segment size to a better value than the default 64K on the DMA >

Re: [PATCH] drm/mediatek: make imported PRIME buffers contiguous

2019-07-23 Thread Tomasz Figa
On Tue, Jul 23, 2019 at 2:34 PM Alexandre Courbot wrote: > > This driver requires imported PRIME buffers to appear contiguously in > its IO address space. Make sure this is the case by setting the maximum > DMA segment size to a better value than the default 64K on the DMA > device, and use said

[PATCH] drm/mediatek: make imported PRIME buffers contiguous

2019-07-22 Thread Alexandre Courbot
This driver requires imported PRIME buffers to appear contiguously in its IO address space. Make sure this is the case by setting the maximum DMA segment size to a better value than the default 64K on the DMA device, and use said DMA device when importing PRIME buffers. Signed-off-by: Alexandre