[Intel-gfx] [PATCH 05/23] drm/i915: Export ppgtt_bind_vma

Andi Shyti andi at etezian.org
Fri Jul 3 10:09:13 UTC 2020


Hi Chris,

On Thu, Jul 02, 2020 at 09:32:07AM +0100, Chris Wilson wrote:
> Reuse the ppgtt_bind_vma() for aliasing_ppgtt_bind_vma() so we can
> reduce some code near-duplication. The catch is that we need to then
> pass along the i915_address_space and not rely on vma->vm, as they
> differ with the aliasing-ppgtt.
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

very nice!

Reviewed-by: Andi Shyti <andi.shyti at intel.com>

Andi


More information about the Intel-gfx mailing list