[Intel-gfx] [PATCH v2 0/3] Move #define wbvind_on_all_cpus

Michael Cheng michael.cheng at intel.com
Thu Feb 17 20:26:41 UTC 2022


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(-)

-- 
2.25.1



More information about the Intel-gfx mailing list