[Intel-gfx] [PATCH 17/30] drm/i915: Do not clflush snooped objects
Daniel Vetter
daniel at ffwll.ch
Wed Apr 13 18:04:38 CEST 2011
On Tue, Apr 12, 2011 at 09:31:45PM +0100, Chris Wilson wrote:
> + /* If the GPU is snooping the contents of the CPU cache,
> + * we do not need to clear the CPU cache lines. Instead we need
> + * to be sure to flush/invalidate the RENDER cache when the contents
> + * must be refreshed.
> + */
The "Instead we need to be sure to flush the RENDER cache ..." is a bit
confusing to me: There's no instead, we have to do this always when
writing with the cpu. Besides this minor comment-nitpick it makes sense.
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
--
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48
More information about the Intel-gfx
mailing list