[Intel-gfx] [PATCH] drm/i915/gtt: Allocate va range only if vma is not bound

Chris Wilson chris at chris-wilson.co.uk
Wed Apr 29 02:46:28 PDT 2015


On Wed, Apr 29, 2015 at 09:49:30AM +0300, Mika Kuoppala wrote:
> When we have bound vma into an address space, the layout
> of page table structures is immutable. So we can be absolutely
> certain that if vma is already bound, there is no need to
> (re)allocate a virtual address range for it.
> 
> v2: - add sanity checks and remove superfluous GLOBAL_BIND set
>     - we might do update for an unbound vma (Chris)
> 
> v3: s/u32/unsigned (Chris)

Go back to v2. Sorry, seems like u32 is being used throughout this
callchain and so needs to be fixed all together.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list