diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-20 00:43:31 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-20 23:46:35 +0300 |
commit | ac05a22cd07a1a9b90b66eefca845b020722697d (patch) | |
tree | 1369af42a4b09d5f3cb5a886e2f4ee6acdbdefd3 /scripts/bpf_helpers_doc.py | |
parent | 95b98f004f9d9ad240867ddbb7b3eb38a3471828 (diff) | |
download | linux-ac05a22cd07a1a9b90b66eefca845b020722697d.tar.xz |
drm/i915/gem: Almagamate clflushes on suspend
When flushing objects larger than the CPU cache it is preferrable to use
a single wbinvd() rather than overlapping clflush(). At runtime, we
avoid wbinvd() due to its system-wide latencies, but during
singlethreaded suspend, no one will observe the imposed latency and we
can opt for the faster wbinvd to clear all objects in a single hit.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210119214336.1463-1-chris@chris-wilson.co.uk
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions