Re: [Intel-gfx] [PATCH 16/26] drm/i915: Generalize GEN6 mapping

2014-03-18 Thread Chris Wilson
On Mon, Mar 17, 2014 at 10:48:48PM -0700, Ben Widawsky wrote: > Having a more general way of doing mappings will allow the ability to > easy map and unmap a specific page table. Specifically in this case, we > pass down the page directory + entry, and the page table to map. This > works similarly t

[Intel-gfx] [PATCH 16/26] drm/i915: Generalize GEN6 mapping

2014-03-17 Thread Ben Widawsky
Having a more general way of doing mappings will allow the ability to easy map and unmap a specific page table. Specifically in this case, we pass down the page directory + entry, and the page table to map. This works similarly to the x86 code. The same work will need to happen for GEN8. At that p