[Bug 101627] [HSW]drv_selftest/mock_requests - ida_remove called for id=1 which is not allocated.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jul 19 13:20:26 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101627
--- Comment #5 from Chris Wilson <chris at chris-wilson.co.uk> ---
Do we hit
diff --git a/drivers/gpu/drm/i915/selftests/mock_engine.c
b/drivers/gpu/drm/i915/selftests/mock_engine.c
index 5b18a2dc19a8..df2cc9132d90 100644
--- a/drivers/gpu/drm/i915/selftests/mock_engine.c
+++ b/drivers/gpu/drm/i915/selftests/mock_engine.c
@@ -195,7 +195,7 @@ void mock_engine_free(struct intel_engine_cs *engine)
GEM_BUG_ON(timer_pending(&mock->hw_delay));
- if (engine->last_retired_context)
+ if (WARN_ON(engine->last_retired_context))
engine->context_unpin(engine, engine->last_retired_context);
intel_engine_fini_breadcrumbs(engine);
?
That should have been done by the i915_gem_contexts_lost() following the device
flush.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170719/03ba5ba1/attachment.html>
More information about the intel-gfx-bugs
mailing list