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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux