[Intel-gfx] [PATCH 00/12] Completion of i915 VMAs
Chris Wilson
chris at chris-wilson.co.uk
Mon Jul 22 12:42:40 CEST 2013
On Sun, Jul 21, 2013 at 07:08:07PM -0700, Ben Widawsky wrote:
> Map, and unmap are logical functionalities to add for an address space.
> They do more or less what you'd think: take an object and create a
> mapping via the GPU's page tables to that object. Of course, without the
> rest of the patches from [3], there will only ever be 1 address space,
> with the weird aliasing ppgtt behind it. One thing which I toyed with,
> but opted not to include was to directly pass obj,vm to map/unmap
> instead of doing the slightly less pretty way as I've done in execbuf
> and bind. In the future I think I may just do this, but for now it's not
> a big win as the end result wasn't much better (and I didn't get it to
> immediately work).
That's annoying. Currently we use map to refer to the process of making
a CPU mapping to the objects and bind for doing it from the GPU's
perspective. And since the CPU map may well require a GPU map, keeping
the nomenclature distinct helps easily confused me.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list