Re: [RFC PATCH] drm/panfrost: Add support for mapping BOs on GPU page faults

2019-06-30 Thread Steven Price
On 27/06/2019 17:38, Rob Herring wrote: > On Thu, Jun 27, 2019 at 4:57 AM Steven Price wrote: >> >> Sorry for the slow response, I've been on holiday for a few weeks. > > Welcome back. Thanks! >> >> On 20/06/2019 06:50, Tomeu Vizoso wrote: >>> On Mon, 17 Jun 2019 at 16:56, Rob Herring wrote:

Re: [RFC PATCH] drm/panfrost: Add support for mapping BOs on GPU page faults

2019-06-27 Thread Rob Herring
On Thu, Jun 27, 2019 at 4:57 AM Steven Price wrote: > > Sorry for the slow response, I've been on holiday for a few weeks. Welcome back. > > On 20/06/2019 06:50, Tomeu Vizoso wrote: > > On Mon, 17 Jun 2019 at 16:56, Rob Herring wrote: > >> > >> On Sun, Jun 16, 2019 at 11:15 PM Tomeu Vizoso >

Re: [RFC PATCH] drm/panfrost: Add support for mapping BOs on GPU page faults

2019-06-27 Thread Steven Price
Sorry for the slow response, I've been on holiday for a few weeks. On 20/06/2019 06:50, Tomeu Vizoso wrote: > On Mon, 17 Jun 2019 at 16:56, Rob Herring wrote: >> >> On Sun, Jun 16, 2019 at 11:15 PM Tomeu Vizoso >> wrote: >>> >>> On Fri, 14 Jun 2019 at 23:22, Rob Herring wrote: On

Re: [RFC PATCH] drm/panfrost: Add support for mapping BOs on GPU page faults

2019-06-27 Thread Steven Price
On 10/06/2019 18:04, Rob Herring wrote: > The midgard/bifrost GPUs need to allocate GPU memory which is allocated > on GPU page faults and not pinned in memory. The vendor driver calls > this functionality GROW_ON_GPF. > > This implementation assumes that BOs allocated with the >

Re: [RFC PATCH] drm/panfrost: Add support for mapping BOs on GPU page faults

2019-06-19 Thread Tomeu Vizoso
On Mon, 17 Jun 2019 at 16:56, Rob Herring wrote: > > On Sun, Jun 16, 2019 at 11:15 PM Tomeu Vizoso > wrote: > > > > On Fri, 14 Jun 2019 at 23:22, Rob Herring wrote: > > > > > > On Wed, Jun 12, 2019 at 6:55 AM Tomeu Vizoso > > > wrote: > > > > > > > > On Mon, 10 Jun 2019 at 19:06, Rob Herring

Re: [RFC PATCH] drm/panfrost: Add support for mapping BOs on GPU page faults

2019-06-17 Thread Rob Herring
On Sun, Jun 16, 2019 at 11:15 PM Tomeu Vizoso wrote: > > On Fri, 14 Jun 2019 at 23:22, Rob Herring wrote: > > > > On Wed, Jun 12, 2019 at 6:55 AM Tomeu Vizoso wrote: > > > > > > On Mon, 10 Jun 2019 at 19:06, Rob Herring wrote: > > > > > > > > The midgard/bifrost GPUs need to allocate GPU

Re: [RFC PATCH] drm/panfrost: Add support for mapping BOs on GPU page faults

2019-06-16 Thread Tomeu Vizoso
On Fri, 14 Jun 2019 at 23:22, Rob Herring wrote: > > On Wed, Jun 12, 2019 at 6:55 AM Tomeu Vizoso wrote: > > > > On Mon, 10 Jun 2019 at 19:06, Rob Herring wrote: > > > > > > The midgard/bifrost GPUs need to allocate GPU memory which is allocated > > > on GPU page faults and not pinned in

Re: [RFC PATCH] drm/panfrost: Add support for mapping BOs on GPU page faults

2019-06-14 Thread Rob Herring
On Wed, Jun 12, 2019 at 6:55 AM Tomeu Vizoso wrote: > > On Mon, 10 Jun 2019 at 19:06, Rob Herring wrote: > > > > The midgard/bifrost GPUs need to allocate GPU memory which is allocated > > on GPU page faults and not pinned in memory. The vendor driver calls > > this functionality GROW_ON_GPF. >

Re: [RFC PATCH] drm/panfrost: Add support for mapping BOs on GPU page faults

2019-06-12 Thread Chris Wilson
Quoting Rob Herring (2019-06-10 18:04:40) > The midgard/bifrost GPUs need to allocate GPU memory which is allocated > on GPU page faults and not pinned in memory. The vendor driver calls > this functionality GROW_ON_GPF. > > This implementation assumes that BOs allocated with the >

Re: [RFC PATCH] drm/panfrost: Add support for mapping BOs on GPU page faults

2019-06-12 Thread Daniel Vetter
On Wed, Jun 12, 2019 at 02:54:56PM +0200, Tomeu Vizoso wrote: > On Mon, 10 Jun 2019 at 19:06, Rob Herring wrote: > > > > The midgard/bifrost GPUs need to allocate GPU memory which is allocated > > on GPU page faults and not pinned in memory. The vendor driver calls > > this functionality

Re: [RFC PATCH] drm/panfrost: Add support for mapping BOs on GPU page faults

2019-06-12 Thread Tomeu Vizoso
On Mon, 10 Jun 2019 at 19:06, Rob Herring wrote: > > The midgard/bifrost GPUs need to allocate GPU memory which is allocated > on GPU page faults and not pinned in memory. The vendor driver calls > this functionality GROW_ON_GPF. > > This implementation assumes that BOs allocated with the >

[RFC PATCH] drm/panfrost: Add support for mapping BOs on GPU page faults

2019-06-10 Thread Rob Herring
The midgard/bifrost GPUs need to allocate GPU memory which is allocated on GPU page faults and not pinned in memory. The vendor driver calls this functionality GROW_ON_GPF. This implementation assumes that BOs allocated with the PANFROST_BO_NOMAP flag are never mmapped or exported. Both of those