Re: [Intel-gfx] [PATCH 1/6] drm/i915/gem: Almagamate clflushes on suspend

2021-01-19 Thread Matthew Auld
On Tue, 19 Jan 2021 at 14:49, Chris Wilson wrote: > > 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 o

Re: [Intel-gfx] [PATCH 1/6] drm/i915/gem: Almagamate clflushes on suspend

2021-01-19 Thread Chris Wilson
Quoting Matthew Auld (2021-01-19 15:30:41) > On Tue, 19 Jan 2021 at 14:49, Chris Wilson wrote: > > > > 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 latencie

Re: [Intel-gfx] [PATCH 1/6] drm/i915/gem: Almagamate clflushes on suspend

2021-01-19 Thread Matthew Auld
On Tue, 19 Jan 2021 at 14:49, Chris Wilson wrote: > > 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 o

[Intel-gfx] [PATCH 1/6] drm/i915/gem: Almagamate clflushes on suspend

2021-01-19 Thread Chris Wilson
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 wbin