Re: [PATCH] drm/prime: Clarify DMA-BUF/GEM Object lifetime

2017-01-26 Thread Oleksandr Andrushchenko
Thank you for comments, I will update the patch and send v1. On 01/26/2017 12:36 PM, Daniel Vetter wrote: On Thu, Jan 26, 2017 at 09:22:46AM +0200, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko From the description of the "DMA-BUF/GEM Object references and lifetime overview" i

[PATCH] drm/prime: Clarify DMA-BUF/GEM Object lifetime

2017-01-26 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko From the description of the "DMA-BUF/GEM Object references and lifetime overview" it is not clear when exactly dma_buf gets destroyed and memory freed: only driver .release function mentioned which makes confusion on the real buffer's lifetime. Add more description

Re: [PATCH] drm/prime: Clarify DMA-BUF/GEM Object lifetime

2017-01-26 Thread Oleksandr Andrushchenko
On 01/26/2017 12:45 PM, Chris Wilson wrote: On Thu, Jan 26, 2017 at 11:36:05AM +0100, Daniel Vetter wrote: On Thu, Jan 26, 2017 at 09:22:46AM +0200, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko From the description of the "DMA-BUF/GEM Object references and lifetime overview

Re: [PATCH] drm/prime: Clarify DMA-BUF/GEM Object lifetime

2017-01-26 Thread Chris Wilson
On Thu, Jan 26, 2017 at 11:36:05AM +0100, Daniel Vetter wrote: > On Thu, Jan 26, 2017 at 09:22:46AM +0200, Oleksandr Andrushchenko wrote: > > From: Oleksandr Andrushchenko > > > > From the description of the "DMA-BUF/GEM Object references > > and lifetime overview" it is not clear when exactly >

Re: [PATCH] drm/prime: Clarify DMA-BUF/GEM Object lifetime

2017-01-26 Thread Daniel Vetter
On Thu, Jan 26, 2017 at 09:22:46AM +0200, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > From the description of the "DMA-BUF/GEM Object references > and lifetime overview" it is not clear when exactly > dma_buf gets destroyed and memory freed: only driver > .release function