mbox series

[v2,0/3] Move #define wbvind_on_all_cpus

Message ID 20220217202644.122937-1-michael.cheng@intel.com (mailing list archive)
Headers show
Series Move #define wbvind_on_all_cpus | expand

Message

Michael Cheng Feb. 17, 2022, 8:26 p.m. UTC
This series moves the logic for wbvind_on_all_cpus to drm_cache. The logic 
changes a little here, if platform is not x86 then we throw out a warning
for when wbvind_on_all_cpus is being called. 

v2(Michael Cheng): Move and redo logic for wbvind_on_all_cpus. Also
		   add drm_cache.h where the function is being called and 
		   remove uneeded header files.

Michael Cheng (3):
  drm_cache: Add logic for wbvind_on_all_cpus
  drm/i915/gem: Remove logic for wbinvd_on_all_cpus
  drm/i915/: Add drm_cache.h

 drivers/gpu/drm/drm_cache.c                | 2 --
 drivers/gpu/drm/i915/gem/i915_gem_dmabuf.c | 2 +-
 drivers/gpu/drm/i915/gem/i915_gem_pm.c     | 7 +------
 drivers/gpu/drm/i915/gt/intel_ggtt.c       | 2 +-
 include/drm/drm_cache.h                    | 6 ++++++
 5 files changed, 9 insertions(+), 10 deletions(-)