Re: [PATCH 2/4] drm/i915/gtt: Record the scratch pte

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

 



Quoting Matthew Auld (2018-10-29 12:50:12)
> On Mon, 29 Oct 2018 at 10:59, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx>
> > Cc: Matthew Auld <matthew.auld@xxxxxxxxx>
> 
> 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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux