[Bug 102045] Kernel oops in mock_sefltests
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Aug 10 16:17:03 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102045
Chris Wilson <chris at chris-wilson.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit 3ec0af7f223bab9503c4ed57d00ed34b137df476
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Wed Aug 9 17:39:30 2017 +0100
drm/i915: Supply the engine-id for our mock_engine()
In the original selftest, we didn't care what the engine->id was, just
that it could uniquely identify it. Later though, we started tracking
the mock engines in the fixed size arrays around the drm_i915_private and
so we now require their indices to be correct. This becomes an issue when
using the standalone harness which runs all available tests at module load,
and so we quickly assign an out-of-bounds index to an engine as we
reallocate the mock GEM device between tests. It doesn't show up in
igt/drv_selftest as that runs each subtest individually.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102045
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Link:
https://patchwork.freedesktop.org/patch/msgid/20170809163930.26470-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala at intel.com>
--
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/20170810/1412af18/attachment-0001.html>
More information about the intel-gfx-bugs
mailing list