Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-27 Thread Rob Clark
On Thu, Jun 26, 2014 at 7:17 PM, Alexandre Courbot wrote: > On Fri, Jun 27, 2014 at 1:10 AM, Russell King - ARM Linux > wrote: >> On Thu, Jun 26, 2014 at 11:53:20PM +0900, Alexandre Courbot wrote: >>> We don't plan to rely on CMA for too long. IOMMU support is on the way >>> and should make our

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-27 Thread Rob Clark
On Thu, Jun 26, 2014 at 7:17 PM, Alexandre Courbot gnu...@gmail.com wrote: On Fri, Jun 27, 2014 at 1:10 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Jun 26, 2014 at 11:53:20PM +0900, Alexandre Courbot wrote: We don't plan to rely on CMA for too long. IOMMU support is on

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-26 Thread Alexandre Courbot
On Fri, Jun 27, 2014 at 1:10 AM, Russell King - ARM Linux wrote: > On Thu, Jun 26, 2014 at 11:53:20PM +0900, Alexandre Courbot wrote: >> We don't plan to rely on CMA for too long. IOMMU support is on the way >> and should make our life easier, although no matter the source of >> memory, we will

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-26 Thread Russell King - ARM Linux
On Thu, Jun 26, 2014 at 11:53:20PM +0900, Alexandre Courbot wrote: > We don't plan to rely on CMA for too long. IOMMU support is on the way > and should make our life easier, although no matter the source of > memory, we will still have the issue of the lowmem mappings. When it comes to DMA

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-26 Thread Alexandre Courbot
On Wed, Jun 25, 2014 at 1:00 PM, Stéphane Marchesin wrote: > On Tue, Jun 24, 2014 at 6:25 AM, Lucas Stach wrote: >> Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: >>> op 24-06-14 14:23, Alexandre Courbot schreef: >>> > On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot >>>

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-26 Thread Alexandre Courbot
On Tue, Jun 24, 2014 at 10:58 PM, Lucas Stach wrote: > Am Dienstag, den 24.06.2014, 22:52 +0900 schrieb Alexandre Courbot: >> On Tue, Jun 24, 2014 at 10:25 PM, Lucas Stach wrote: >> > Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: >> >> op 24-06-14 14:23, Alexandre Courbot

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-26 Thread Alexandre Courbot
On Tue, Jun 24, 2014 at 10:58 PM, Lucas Stach l.st...@pengutronix.de wrote: Am Dienstag, den 24.06.2014, 22:52 +0900 schrieb Alexandre Courbot: On Tue, Jun 24, 2014 at 10:25 PM, Lucas Stach l.st...@pengutronix.de wrote: Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: op

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-26 Thread Alexandre Courbot
On Wed, Jun 25, 2014 at 1:00 PM, Stéphane Marchesin stephane.marche...@gmail.com wrote: On Tue, Jun 24, 2014 at 6:25 AM, Lucas Stach l.st...@pengutronix.de wrote: Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: op 24-06-14 14:23, Alexandre Courbot schreef: On Tue, Jun 24,

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-26 Thread Russell King - ARM Linux
On Thu, Jun 26, 2014 at 11:53:20PM +0900, Alexandre Courbot wrote: We don't plan to rely on CMA for too long. IOMMU support is on the way and should make our life easier, although no matter the source of memory, we will still have the issue of the lowmem mappings. When it comes to DMA memory,

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-26 Thread Alexandre Courbot
On Fri, Jun 27, 2014 at 1:10 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Jun 26, 2014 at 11:53:20PM +0900, Alexandre Courbot wrote: We don't plan to rely on CMA for too long. IOMMU support is on the way and should make our life easier, although no matter the source of

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Stéphane Marchesin
On Tue, Jun 24, 2014 at 6:25 AM, Lucas Stach wrote: > Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: >> op 24-06-14 14:23, Alexandre Courbot schreef: >> > On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot >> > wrote: >> >> On 06/24/2014 07:33 PM, Alexandre Courbot wrote:

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Lucas Stach
Am Dienstag, den 24.06.2014, 22:52 +0900 schrieb Alexandre Courbot: > On Tue, Jun 24, 2014 at 10:25 PM, Lucas Stach wrote: > > Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: > >> op 24-06-14 14:23, Alexandre Courbot schreef: > >> > On Tue, Jun 24, 2014 at 7:55 PM, Alexandre

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Lucas Stach
Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: > op 24-06-14 14:23, Alexandre Courbot schreef: > > On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot > > wrote: > >> On 06/24/2014 07:33 PM, Alexandre Courbot wrote: > >>> On 06/24/2014 07:02 PM, Russell King - ARM Linux

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Alexandre Courbot
On Tue, Jun 24, 2014 at 10:58 PM, Lucas Stach wrote: > Am Dienstag, den 24.06.2014, 22:52 +0900 schrieb Alexandre Courbot: >> On Tue, Jun 24, 2014 at 10:25 PM, Lucas Stach wrote: >> > Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: >> >> op 24-06-14 14:23, Alexandre Courbot

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Alexandre Courbot
On Tue, Jun 24, 2014 at 10:25 PM, Lucas Stach wrote: > Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: >> op 24-06-14 14:23, Alexandre Courbot schreef: >> > On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot >> > wrote: >> >> On 06/24/2014 07:33 PM, Alexandre Courbot wrote:

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Maarten Lankhorst
op 24-06-14 14:23, Alexandre Courbot schreef: > On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot > wrote: >> On 06/24/2014 07:33 PM, Alexandre Courbot wrote: >>> On 06/24/2014 07:02 PM, Russell King - ARM Linux wrote: On Tue, Jun 24, 2014 at 06:54:26PM +0900, Alexandre Courbot wrote:

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Maarten Lankhorst
op 24-06-14 14:23, Alexandre Courbot schreef: On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot acour...@nvidia.com wrote: On 06/24/2014 07:33 PM, Alexandre Courbot wrote: On 06/24/2014 07:02 PM, Russell King - ARM Linux wrote: On Tue, Jun 24, 2014 at 06:54:26PM +0900, Alexandre Courbot

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Alexandre Courbot
On Tue, Jun 24, 2014 at 10:25 PM, Lucas Stach l.st...@pengutronix.de wrote: Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: op 24-06-14 14:23, Alexandre Courbot schreef: On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot acour...@nvidia.com wrote: On 06/24/2014 07:33

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Alexandre Courbot
On Tue, Jun 24, 2014 at 10:58 PM, Lucas Stach l.st...@pengutronix.de wrote: Am Dienstag, den 24.06.2014, 22:52 +0900 schrieb Alexandre Courbot: On Tue, Jun 24, 2014 at 10:25 PM, Lucas Stach l.st...@pengutronix.de wrote: Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: op

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Lucas Stach
Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: op 24-06-14 14:23, Alexandre Courbot schreef: On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot acour...@nvidia.com wrote: On 06/24/2014 07:33 PM, Alexandre Courbot wrote: On 06/24/2014 07:02 PM, Russell King - ARM

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Lucas Stach
Am Dienstag, den 24.06.2014, 22:52 +0900 schrieb Alexandre Courbot: On Tue, Jun 24, 2014 at 10:25 PM, Lucas Stach l.st...@pengutronix.de wrote: Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: op 24-06-14 14:23, Alexandre Courbot schreef: On Tue, Jun 24, 2014 at 7:55 PM,

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-24 Thread Stéphane Marchesin
On Tue, Jun 24, 2014 at 6:25 AM, Lucas Stach l.st...@pengutronix.de wrote: Am Dienstag, den 24.06.2014, 14:27 +0200 schrieb Maarten Lankhorst: op 24-06-14 14:23, Alexandre Courbot schreef: On Tue, Jun 24, 2014 at 7:55 PM, Alexandre Courbot acour...@nvidia.com wrote: On 06/24/2014 07:33