diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-19 21:43:32 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-20 20:46:35 +0000 |
commit | 30d2bfd093839cf6eef93f9c2cbdc347c7bf8b20 (patch) | |
tree | d1d52658ccfd7c9f1a8157e48c02704bb00dda60 /drivers/hwmon/pwm-fan.c | |
parent | ac05a22cd07a1a9b90b66eefca845b020722697d (diff) |
drm/i915/gem: Almagamate clflushes on freeze
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-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions