[Intel-gfx] [PATCH 2/4] drm/i915/gtt: Record the scratch pte

Matthew Auld matthew.william.auld at gmail.com
Mon Oct 29 12:50:12 UTC 2018


On Mon, 29 Oct 2018 at 10:59, Chris Wilson <chris at chris-wilson.co.uk> wrote:
>
> Record the scratch PTE encoding upon creation rather than recomputing
> the bits everytime. This is important for the next patch where we forgo
> having a valid scratch page with which we may compute the bits and so
> require keeping the PTE value instead.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Matthew Auld <matthew.auld at intel.com>

Can we also update the scrub_64K bit, I don't think it should be
accessing scratch_page.daddr after the next patch?

Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-gfx mailing list