[Intel-gfx] [PATCH] drm/i915: Re-enable aliasing PPGTT mode.

Zhi Wang zhi.a.wang at intel.com
Mon Feb 6 08:18:23 UTC 2017


Hi Chris:
     Thanks for the reply! :P Have you also fixed here with your new ideas?

in intel_lrc:

static u64 execlists_update_context(struct drm_i915_gem_request *rq)
{
         struct intel_context *ce = &rq->ctx->engine[rq->engine->id];
         struct i915_hw_ppgtt *ppgtt = rq->ctx->ppgtt;  // ----> check 
if we should get ppgtt from dev_priv->mm.aliasing_ppgtt.

         u32 *reg_state = ce->lrc_reg_state;

         reg_state[CTX_RING_TAIL+1] = rq->tail;



On 02/06/17 16:10, Chris Wilson wrote:
>> - Load the root pointers of the PPGTT page table during the context
>> >initialization, as currently the "LRI PDPs updating" magic only works
>> >under full PPGTT mode and also GVT-g doesn't support LRI PDP updating.
> That is incorrect, they are loaded into the context image before
> submission. If you want to make sure they are unchanging so that
> lite-restore under g-GVT works, that is another matter.
> -Chris


More information about the Intel-gfx mailing list