Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-07 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 6732 -Summary- Platform Delta drm-intel-nightly Series Applied ILK -4

Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Imre Deak
On ma, 2015-07-06 at 17:04 +0100, Chris Wilson wrote: > On Mon, Jul 06, 2015 at 06:56:00PM +0300, Imre Deak wrote: > > On ma, 2015-07-06 at 16:33 +0100, Chris Wilson wrote: > > > On Mon, Jul 06, 2015 at 05:29:39PM +0200, Daniel Vetter wrote: > > > > On Mon, Jul 06, 2015 at 03:57:44PM +0100, Chris W

Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Chris Wilson
On Mon, Jul 06, 2015 at 06:56:00PM +0300, Imre Deak wrote: > On ma, 2015-07-06 at 16:33 +0100, Chris Wilson wrote: > > On Mon, Jul 06, 2015 at 05:29:39PM +0200, Daniel Vetter wrote: > > > On Mon, Jul 06, 2015 at 03:57:44PM +0100, Chris Wilson wrote: > > > > On Mon, Jul 06, 2015 at 05:50:37PM +0300,

Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Imre Deak
On ma, 2015-07-06 at 16:33 +0100, Chris Wilson wrote: > On Mon, Jul 06, 2015 at 05:29:39PM +0200, Daniel Vetter wrote: > > On Mon, Jul 06, 2015 at 03:57:44PM +0100, Chris Wilson wrote: > > > On Mon, Jul 06, 2015 at 05:50:37PM +0300, Imre Deak wrote: > > > > We have 3 types of DMA mappings for GEM o

Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Chris Wilson
On Mon, Jul 06, 2015 at 05:29:39PM +0200, Daniel Vetter wrote: > On Mon, Jul 06, 2015 at 03:57:44PM +0100, Chris Wilson wrote: > > On Mon, Jul 06, 2015 at 05:50:37PM +0300, Imre Deak wrote: > > > We have 3 types of DMA mappings for GEM objects: > > > 1. physically contiguous for stolen and for obje

Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Imre Deak
On ma, 2015-07-06 at 16:28 +0100, Chris Wilson wrote: > On Mon, Jul 06, 2015 at 06:11:40PM +0300, Imre Deak wrote: > > On ma, 2015-07-06 at 15:57 +0100, Chris Wilson wrote: > > > On Mon, Jul 06, 2015 at 05:50:37PM +0300, Imre Deak wrote: > > > > We have 3 types of DMA mappings for GEM objects: > >

Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Imre Deak
On ma, 2015-07-06 at 17:29 +0200, Daniel Vetter wrote: > On Mon, Jul 06, 2015 at 03:57:44PM +0100, Chris Wilson wrote: > > On Mon, Jul 06, 2015 at 05:50:37PM +0300, Imre Deak wrote: > > > We have 3 types of DMA mappings for GEM objects: > > > 1. physically contiguous for stolen and for objects need

Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Chris Wilson
On Mon, Jul 06, 2015 at 06:11:40PM +0300, Imre Deak wrote: > On ma, 2015-07-06 at 15:57 +0100, Chris Wilson wrote: > > On Mon, Jul 06, 2015 at 05:50:37PM +0300, Imre Deak wrote: > > > We have 3 types of DMA mappings for GEM objects: > > > 1. physically contiguous for stolen and for objects needing

Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Daniel Vetter
On Mon, Jul 06, 2015 at 03:57:44PM +0100, Chris Wilson wrote: > On Mon, Jul 06, 2015 at 05:50:37PM +0300, Imre Deak wrote: > > We have 3 types of DMA mappings for GEM objects: > > 1. physically contiguous for stolen and for objects needing contiguous > >memory > > 2. DMA-buf mappings imported v

Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Imre Deak
On ma, 2015-07-06 at 16:11 +0100, Tvrtko Ursulin wrote: > Hi, > > On 07/06/2015 03:50 PM, Imre Deak wrote: > > We have 3 types of DMA mappings for GEM objects: > > 1. physically contiguous for stolen and for objects needing contiguous > > memory > > 2. DMA-buf mappings imported via a DMA-buf a

Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Imre Deak
On ma, 2015-07-06 at 15:57 +0100, Chris Wilson wrote: > On Mon, Jul 06, 2015 at 05:50:37PM +0300, Imre Deak wrote: > > We have 3 types of DMA mappings for GEM objects: > > 1. physically contiguous for stolen and for objects needing contiguous > >memory > > 2. DMA-buf mappings imported via a DMA

Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Tvrtko Ursulin
Hi, On 07/06/2015 03:50 PM, Imre Deak wrote: We have 3 types of DMA mappings for GEM objects: 1. physically contiguous for stolen and for objects needing contiguous memory 2. DMA-buf mappings imported via a DMA-buf attach operation 3. SG DMA mappings for shmem backed and userptr objects Fo

Re: [Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Chris Wilson
On Mon, Jul 06, 2015 at 05:50:37PM +0300, Imre Deak wrote: > We have 3 types of DMA mappings for GEM objects: > 1. physically contiguous for stolen and for objects needing contiguous >memory > 2. DMA-buf mappings imported via a DMA-buf attach operation > 3. SG DMA mappings for shmem backed and

[Intel-gfx] [PATCH] drm/i915: avoid leaking DMA mappings

2015-07-06 Thread Imre Deak
We have 3 types of DMA mappings for GEM objects: 1. physically contiguous for stolen and for objects needing contiguous memory 2. DMA-buf mappings imported via a DMA-buf attach operation 3. SG DMA mappings for shmem backed and userptr objects For 1. and 2. the lifetime of the DMA mapping matche