[Intel-gfx] [PATCH] drm/i915: introduce i915_gem_context_vm helper

Chris Wilson chris at chris-wilson.co.uk
Fri Sep 21 19:26:40 UTC 2018


Quoting Matthew Auld (2018-09-21 19:45:18)
> Throughout the kernel it's a pretty common pattern to do:
> 
>     vm = ctx->ppgtt ? &ctx->ppgtt->vm : &ctx->i915->ggtt.vm;

The plan has always been to work towards making ctx->ppgtt dtrt.
-Chris


More information about the Intel-gfx mailing list