[Bug 94585] [BXT-P/KBL/BSW] igt/gem_reset_stats / some ban subtests fail
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri May 13 15:03:09 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=94585
Chris Wilson <chris at chris-wilson.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Chris Wilson <chris at chris-wilson.co.uk> ---
commit e075a32f515becef66dc849f5eca47409ccf5473
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri May 13 11:57:22 2016 +0100
drm/i915: Stop automatically retiring requests after a GPU hang
Following a GPU hang, we break out of the request loop in order to
unlock the struct_mutex for use by the GPU reset. However, if we retire
all the requests at that moment, we cannot identify the guilty request
after performing the reset.
v2: Not automatically retiring requests forces us to recheck for
available ringspace.
Fixes: f4457ae71fd6 ("drm/i915: Prevent leaking of -EIO from
i915_wait_request()")
Testcase: igt/gem_reset_stats/ban-*
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Mika Kuoppala <mika.kuoppala at intel.com>
Tested-by: Mika Kuoppala <mika.kuoppala at intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala at intel.com>
Link:
http://patchwork.freedesktop.org/patch/msgid/1463137042-9669-4-git-send-email-chris@chris-wilson.co.uk
and
commit e380239dc838f1e8a2ebcc9ddac556e3842ea195
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Fri May 13 10:30:05 2016 +0100
igt/gem_reset_stats: Fix pending batch count for bans
Since 9ba9af2ea4 ("lib: Skip execution in gem_has_ring()"), we no longer
do a double execbuf for each hang, as the gem_require_ring() check now
does a dummy execution that does not contribuee to the pending batch
count.
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
--
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/20160513/094d343d/attachment.html>
More information about the intel-gfx-bugs
mailing list