Re: [Intel-gfx] [PATCH 1/3] drm/i915: Invalidate media caches on gen7

2014-12-16 Thread Chris Wilson
On Mon, Dec 15, 2014 at 10:34:45AM +0100, Daniel Vetter wrote: On Thu, Dec 11, 2014 at 08:16:59AM +, Chris Wilson wrote: In the gen7 pipe control there is an extra bit to flush the media caches, so let's set it during cache invalidation flushes. Cc: Simon Farnsworth

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Invalidate media caches on gen7

2014-12-16 Thread Daniel Vetter
On Tue, Dec 16, 2014 at 08:26:55AM +, Chris Wilson wrote: On Mon, Dec 15, 2014 at 10:34:45AM +0100, Daniel Vetter wrote: On Thu, Dec 11, 2014 at 08:16:59AM +, Chris Wilson wrote: In the gen7 pipe control there is an extra bit to flush the media caches, so let's set it during cache

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Invalidate media caches on gen7

2014-12-15 Thread Daniel Vetter
On Thu, Dec 11, 2014 at 08:16:59AM +, Chris Wilson wrote: In the gen7 pipe control there is an extra bit to flush the media caches, so let's set it during cache invalidation flushes. Cc: Simon Farnsworth si...@farnz.org.uk Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk Cc:

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Invalidate media caches on gen7

2014-12-12 Thread Chris Wilson
On Thu, Dec 11, 2014 at 02:24:53PM +0200, Ville Syrjälä wrote: On Thu, Dec 11, 2014 at 08:16:59AM +, Chris Wilson wrote: In the gen7 pipe control there is an extra bit to flush the media caches, so let's set it during cache invalidation flushes. Bspec is telling me this bit is already

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Invalidate media caches on gen7

2014-12-11 Thread Ville Syrjälä
On Thu, Dec 11, 2014 at 08:16:59AM +, Chris Wilson wrote: In the gen7 pipe control there is an extra bit to flush the media caches, so let's set it during cache invalidation flushes. Bspec is telling me this bit is already present in snb, and calls it 'Generic Media State Clear'. Older