diff options
author | Matthew Auld <matthew.auld@intel.com> | 2021-10-28 12:26:37 +0300 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2021-10-29 11:03:27 +0300 |
commit | 2ca776068f1f9ece3ab093f1be39c87653fbff16 (patch) | |
tree | 59435e4bf60ebf9af2ff5430a2af588065f7e391 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 77cdd054dd2ced6cb6f3420a998d6a0a65d6076e (diff) | |
download | linux-2ca776068f1f9ece3ab093f1be39c87653fbff16.tar.xz |
drm/i915/gtt: flush the scratch page
The scratch page is directly visible in the users address space, and
while this is forced as CACHE_LLC, by the kernel, we still have to
contend with things like "Bypass-LLC" MOCS. So just flush no matter
what.
v2(Thomas):
- Make sure we use drm_clflush_virt_range here, in case clflush support
is missing.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211028092638.3142258-1-matthew.auld@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions