[Intel-gfx] [PATCH] drm/i915: Flush the existing fence before GGTT read/write
Chris Wilson
chris at chris-wilson.co.uk
Fri Aug 23 15:31:19 UTC 2019
Quoting Matthew Auld (2019-08-23 16:26:16)
> On 23/08/2019 16:03, Chris Wilson wrote:
> > Our fence management is lazy, very lazy. If the user marks an object as
> > untiled, we do not immediately flush the fence but merely mark it as
> > dirty. On the use we have to remember to check and remove the fence, by
> > which time we hope it is idle and we do not have to wait.
> >
> > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111468
> > Fixes: 1f7fd484fff1 ("drm/i915: Replace i915_vma_put_fence()")
> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> > Cc: Matthew Auld <matthew.auld at intel.com>
>
> Well that sucks, should we also try to be more solid on the reloc path?
I was thinking about pulling it into the object_ggtt_pin. That appears
to cover everyone.
-Chris
More information about the Intel-gfx
mailing list