Re: [Nouveau] [PATCH v4 2/6] drm/nouveau: map pages using DMA API on platform devices

2014-07-11 Thread Daniel Vetter
On Fri, Jul 11, 2014 at 11:35:23AM +0900, Alexandre Courbot wrote: On 07/10/2014 09:58 PM, Daniel Vetter wrote: On Tue, Jul 08, 2014 at 05:25:57PM +0900, Alexandre Courbot wrote: page_to_phys() is not the correct way to obtain the DMA address of a buffer on a non-PCI system. Use the DMA API

Re: [Nouveau] [PATCH v4 4/6] drm/nouveau: synchronize BOs when required

2014-07-11 Thread Daniel Vetter
On Fri, Jul 11, 2014 at 11:40:27AM +0900, Alexandre Courbot wrote: On 07/10/2014 10:04 PM, Daniel Vetter wrote: On Tue, Jul 08, 2014 at 05:25:59PM +0900, Alexandre Courbot wrote: On architectures for which access to GPU memory is non-coherent, caches need to be flushed and invalidated

Re: [Nouveau] [PATCH 0/3] drm/gk20a: support for reclocking

2014-07-11 Thread Martin Peres
On 11/07/2014 03:42, Alexandre Courbot wrote: On 07/10/2014 06:50 PM, Mikko Perttunen wrote: Does GK20A itself have any kind of thermal protection capabilities? Upstream SOCTHERM support is not yet available (though I have a driver in my tree), so we are thinking of disabling CPU DVFS on boards

Re: [Nouveau] [PATCH v4 2/6] drm/nouveau: map pages using DMA API on platform devices

2014-07-11 Thread Lucas Stach
Am Freitag, den 11.07.2014, 11:57 +0900 schrieb Alexandre Courbot: [...] Yeah, I am not familiar with i915 but it seems like we are on a similar boat here (excepted ARM is more constrained as to its memory mappings). The strategy in this series is, map buffers used by user-space cached

Re: [Nouveau] [PATCH 0/3] drm/gk20a: support for reclocking

2014-07-11 Thread Peter De Schrijver
On Fri, Jul 11, 2014 at 03:49:06AM +0200, Alex Courbot wrote: On 07/10/2014 06:43 PM, Peter De Schrijver wrote: On Thu, Jul 10, 2014 at 09:34:34AM +0200, Alexandre Courbot wrote: This series adds support for reclocking on GK20A. The first two patches touch the clock subsystem to allow

Re: [Nouveau] [PATCH 0/3] drm/gk20a: support for reclocking

2014-07-11 Thread Peter De Schrijver
On Fri, Jul 11, 2014 at 04:01:02AM +0200, Ben Skeggs wrote: On Fri, Jul 11, 2014 at 11:49 AM, Alexandre Courbot acour...@nvidia.com wrote: On 07/10/2014 06:43 PM, Peter De Schrijver wrote: On Thu, Jul 10, 2014 at 09:34:34AM +0200, Alexandre Courbot wrote: This series adds support for