diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2014-12-15 23:26:46 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-12-16 10:56:55 +0300 |
commit | b04d4a38c0691e4467fa2988b6fe481bf759daaf (patch) | |
tree | 5bc4d0f0df284ac0f60894fa0a0904e34d6003c0 /drivers/gpu/drm/drm_info.c | |
parent | 7432ca5acec8a24a7e576c92d28449e2d790b734 (diff) | |
download | linux-b04d4a38c0691e4467fa2988b6fe481bf759daaf.tar.xz |
drm/cache: Use wbinvd helpers
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.h. We must therefore include this file so we don't get compiler errors.
This error was found by 0-DAY kernel test infrastructure. We only need this for
x86.
Cc: Intel GFX <intel-gfx@lists.freedesktop.org>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> (v1)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_info.c')
0 files changed, 0 insertions, 0 deletions