diff options
| author | Chris Wilson <[email protected]> | 2018-04-30 13:15:00 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2018-04-30 15:01:11 +0000 |
| commit | 52d7f16e5543ca892ae2393a716083d209ce3b36 (patch) | |
| tree | d80f2a23732005d8c9653dfd9f0af57fb89448c3 /drivers/gpu/drm/i915/intel_ringbuffer.c | |
| parent | drm/i915/lrc: Scrub the GPU state of the guilty hanging request (diff) | |
| download | kernel-52d7f16e5543ca892ae2393a716083d209ce3b36.tar.gz kernel-52d7f16e5543ca892ae2393a716083d209ce3b36.zip | |
drm/i915: Stop tracking timeline->inflight_seqnos
In commit 9b6586ae9f6b ("drm/i915: Keep a global seqno per-engine"), we
moved from a global inflight counter to per-engine counters in the
hope that will be easy to run concurrently in future. However, with the
advent of the desire to move requests between engines, we do need a
global counter to preserve the semantics that no engine wraps in the
middle of a submit. (Although this semantic is now only required for gen7
semaphore support, which only supports greater-then comparisons!)
v2: Keep a global counter of all requests ever submitted and force the
reset when it wraps.
References: 9b6586ae9f6b ("drm/i915: Keep a global seqno per-engine")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.c')
0 files changed, 0 insertions, 0 deletions
