[Intel-gfx] [PATCH 2/4] drm/i915/gtt: Record the scratch pte
Chris Wilson
chris at chris-wilson.co.uk
Mon Oct 29 12:57:53 UTC 2018
Quoting Matthew Auld (2018-10-29 12:50:12)
> 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?
The I915_SELFTEST_ONLY(scrub_64k)? Yup, missed that one as it should now
be encode = vma->vm->scratch_pte.
-Chris
More information about the Intel-gfx
mailing list