|
@@ -1040,12 +1040,9 @@ bool __i915_spin_request(const struct drm_i915_gem_request *req,
|
|
irq = atomic_read(&engine->irq_count);
|
|
irq = atomic_read(&engine->irq_count);
|
|
timeout_us += local_clock_us(&cpu);
|
|
timeout_us += local_clock_us(&cpu);
|
|
do {
|
|
do {
|
|
- if (seqno != i915_gem_request_global_seqno(req))
|
|
|
|
- break;
|
|
|
|
-
|
|
|
|
if (i915_seqno_passed(intel_engine_get_seqno(req->engine),
|
|
if (i915_seqno_passed(intel_engine_get_seqno(req->engine),
|
|
seqno))
|
|
seqno))
|
|
- return true;
|
|
|
|
|
|
+ return seqno == i915_gem_request_global_seqno(req);
|
|
|
|
|
|
/* Seqno are meant to be ordered *before* the interrupt. If
|
|
/* Seqno are meant to be ordered *before* the interrupt. If
|
|
* we see an interrupt without a corresponding seqno advance,
|
|
* we see an interrupt without a corresponding seqno advance,
|