Re: [Intel-gfx] [PATCH 24/26] drm/i915: Finish gen6/7 dynamic page table allocation

2014-03-20 Thread Chris Wilson
On Mon, Mar 17, 2014 at 10:48:56PM -0700, Ben Widawsky wrote: > +static DECLARE_BITMAP(new_page_tables, I915_PDES_PER_PD); It is only 64 bytes, I think we can accommodate that on stack. Otherwise, I could barely find anything to quibble about. -Chris -- Chris Wilson, Intel Open Source Technolog

[Intel-gfx] [PATCH 24/26] drm/i915: Finish gen6/7 dynamic page table allocation

2014-03-17 Thread Ben Widawsky
This patch continues on the idea from the previous patch. From here on, in the steady state, PDEs are all pointing to the scratch page table (as recommended in the spec). When an object is allocated in the VA range, the code will determine if we need to allocate a page for the page table. Similarly