[Intel-gfx] [PATCH] drm/i915: Move frontbuffer CS write tracking from ggtt vma to object
Chris Wilson
chris at chris-wilson.co.uk
Fri Nov 18 11:41:03 UTC 2016
On Wed, Nov 16, 2016 at 05:52:43PM -0200, Paulo Zanoni wrote:
> Em Qua, 2016-11-16 às 19:07 +0000, Chris Wilson escreveu:
> > I tried to avoid having to track the write for every VMA by only
> > tracking writes to the ggtt. However, for the purposes of frontbuffer
> > tracking this is insufficient as we need to invalidate around writes
> > not
> > just to the the ggtt but all aliased ppgtt views of the framebuffer.
> > By
> > moving the critical section to the object and only doing so for
> > framebuffer writes we can reduce the tracking even further by only
> > watching framebuffers and not vma.
>
> That fixes the test failures I was seeing. Thanks!
>
> Tested-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
Thanks for the report and the poke, and for testing.
Pushed, with Joonas' blessing.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list