[Intel-gfx] [PATCH 1/4] drm/cache: Use wbinvd helpers

2014-12-15 Thread Daniel Vetter
On Sun, Dec 14, 2014 at 12:43:10PM +, Chris Wilson wrote: > On Sat, Dec 13, 2014 at 07:08:21PM -0800, Ben Widawsky wrote: > > When the original drm code was written there were no centralized functions > > for > > doing a coordinated wbinvd across all CPUs. Now (since 2010) there are, so > >

[Intel-gfx] [PATCH 1/4] drm/cache: Use wbinvd helpers

2014-12-14 Thread Chris Wilson
On Sat, Dec 13, 2014 at 07:08:21PM -0800, Ben Widawsky wrote: > When the original drm code was written there were no centralized functions for > doing a coordinated wbinvd across all CPUs. Now (since 2010) there are, so use > them instead of rolling a new one. > > Cc: Intel GFX > Signed-off-by:

[PATCH 1/4] drm/cache: Use wbinvd helpers

2014-12-13 Thread Ben Widawsky
When the original drm code was written there were no centralized functions for doing a coordinated wbinvd across all CPUs. Now (since 2010) there are, so use them instead of rolling a new one. Cc: Intel GFX Signed-off-by: Ben Widawsky --- drivers/gpu/drm/drm_cache.c | 12 +++- 1 file