summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/scheduler.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-04-30 14:15:00 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-04-30 16:01:11 +0100
commit52d7f16e5543ca892ae2393a716083d209ce3b36 (patch)
treed80f2a23732005d8c9653dfd9f0af57fb89448c3 /drivers/gpu/drm/i915/gvt/scheduler.c
parent5692251c254a3d561316c4e8e10c77e470b60658 (diff)
downloadtalos-op-linux-52d7f16e5543ca892ae2393a716083d209ce3b36.tar.gz
talos-op-linux-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 <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180430131503.5375-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/scheduler.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud