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

2014-12-16 Thread Daniel Vetter
On Mon, Dec 15, 2014 at 12:26:46PM -0800, Ben Widawsky wrote: > From: 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. > > v2: On x

[PATCH] [v2] drm/cache: Use wbinvd helpers

2014-12-15 Thread Ben Widawsky
From: 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. v2: On x86 UP systems the wbinvd_on_all_cpus() is defined as a static inline in smp.