Re: [Intel-gfx] [PATCH 2/3] drm/i915/gtt: Free unused lower-level page tables

2016-10-05 Thread Chris Wilson
On Wed, Oct 05, 2016 at 09:40:48AM +0300, Joonas Lahtinen wrote: > On ti, 2016-10-04 at 15:54 +0200, Michał Winiarski wrote: > > Since "Dynamic page table allocations" were introduced, our page tables > > can grow (being dynamically allocated) with address space range usage. > > Unfortunately,

Re: [Intel-gfx] [PATCH 2/3] drm/i915/gtt: Free unused lower-level page tables

2016-10-05 Thread Joonas Lahtinen
On ti, 2016-10-04 at 15:54 +0200, Michał Winiarski wrote: > Since "Dynamic page table allocations" were introduced, our page tables > can grow (being dynamically allocated) with address space range usage. > Unfortunately, their lifetime is bound to vm. This is not a huge problem > when we're not

[Intel-gfx] [PATCH 2/3] drm/i915/gtt: Free unused lower-level page tables

2016-10-04 Thread Michał Winiarski
Since "Dynamic page table allocations" were introduced, our page tables can grow (being dynamically allocated) with address space range usage. Unfortunately, their lifetime is bound to vm. This is not a huge problem when we're not using softpin - drm_mm is creating an upper bound on used range by