[Intel-gfx] [PATCH 27/30] drm/i915: Invalidate fenced read domains upon flush

Daniel Vetter daniel at ffwll.ch
Wed Apr 13 23:02:47 CEST 2011


On Wed, Apr 13, 2011 at 09:38:50PM +0100, Chris Wilson wrote:
> Whenever we finish reading an object through a fence, for safety we
> clear any GPU read domain and so invalidate any TLBs associated with
> the fenced region upon its next use. As we now always flush writes 
> through an existing fence before it is released and then trigger the 
> invalidation of the GPU domains should we ever re-use it again on the 
> GPU, we no longer need to compare and force the invalidation if the
> fenced access changes in move_to_gpu().
Sounds good. And now I need some sleep, so the next mail will take longer
to answer ;-)

Cheers, Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list