[Intel-gfx] [PATCH 15/26] drm/i915: Create page table allocators
Chris Wilson
chris at chris-wilson.co.uk
Tue Mar 18 10:14:09 CET 2014
On Mon, Mar 17, 2014 at 10:48:47PM -0700, Ben Widawsky wrote:
> As we move toward dynamic page table allocation, it becomes much easier
> to manage our data structures if break do things less coarsely by
> breaking up all of our actions into individual tasks. This makes the
> code easier to write, read, and verify.
>
> Aside from the dissection of the allocation functions, the patch
> statically allocates the page table structures without a page directory.
> This remains the same for all platforms,
>
> The patch itself should not have much functional difference. The primary
> noticeable difference is the fact that page tables are no longer
> allocated, but rather statically declared as part of the page directory.
> This has non-zero overhead, but things gain non-trivial complexity as a
> result.
We increase overhead for increased complexity. What's the selling point
of this patch then?
Otherwise, patch does as you say.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list