diff options
author | Matthew Auld <[email protected]> | 2021-10-28 10:26:37 +0100 |
---|---|---|
committer | Matthew Auld <[email protected]> | 2021-10-29 09:03:27 +0100 |
commit | 2ca776068f1f9ece3ab093f1be39c87653fbff16 (patch) | |
tree | 59435e4bf60ebf9af2ff5430a2af588065f7e391 /lib/mpi/mpi-inv.c | |
parent | 77cdd054dd2ced6cb6f3420a998d6a0a65d6076e (diff) |
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 <[email protected]>
Cc: Thomas Hellström <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Ramalingam C <[email protected]>
Reviewed-by: Thomas Hellström <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions