<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - [GM45] bsd ring reset fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=65495#c16">Comment # 16</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - [GM45] bsd ring reset fails"
href="https://bugs.freedesktop.org/show_bug.cgi?id=65495">bug 65495</a>
from <span class="vcard"><a class="email" href="mailto:huax.lu@intel.com" title="lu hua <huax.lu@intel.com>"> <span class="fn">lu hua</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=65495#c15">comment #15</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=81860" name="attach_81860" title="run full gem hw init after gpu resets">attachment 81860</a> <a href="attachment.cgi?id=81860&action=edit" title="run full gem hw init after gpu resets">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=65495&attachment=81860'>[review]</a> [review]
> run full gem hw init after gpu resets
>
> Hopefully I haven't botched the testing on my side again, but this seems to
> actually work. Please test, thanks.</span >
Fixed by this patch.
output:
rings stopped
gpu hang correctly dectected
dmesg:
[ 195.724135] [drm:i915_ring_stop_set], Stopping rings 0x0000000f
[ 195.726451] [drm:i915_driver_open],
[ 195.726467] [drm:intel_crtc_cursor_set], cursor off
[ 195.726470] [drm:intel_crtc_set_config], [CRTC:3] [FB:37] #connectors=1 (x
y) (0 0)
[ 195.726476] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[ 195.726479] [drm:intel_crtc_cursor_set], cursor off
[ 195.726480] [drm:intel_crtc_set_config], [CRTC:4] [NOFB]
[ 195.726483] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[ 195.726489] [drm:i915_driver_open],
[ 199.707175] [drm:i915_hangcheck_elapsed] *ERROR* stuck on render ring
[ 199.707240] [drm] capturing error event; look for more information in
/sys/class/drm/card0/error
[ 199.710689] [drm:i915_error_work_func], resetting chip
[ 199.710735] [drm] Simulated gpu hang, resetting stop_rings
[ 199.710780] [drm:init_status_page], render ring hws offset: 0x00477000
[ 199.710960] [drm:init_status_page], bsd ring hws offset: 0x0049a000
[ 199.711131] [drm:i915_gem_context_init], Disabling HW Contexts; old hardware
[ 199.711135] [drm:gm45_get_vblank_counter], trying to get vblank count for
disabled pipe B
[ 199.711195] [drm:i9xx_update_plane], Writing base 00046000 00000000 0 0 5120
[ 200.290435] [drm:intel_crtc_cursor_set], cursor off
[ 200.290440] [drm:intel_crtc_set_config], [CRTC:3] [FB:37] #connectors=1 (x
y) (0 0)
[ 200.290447] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[ 200.290450] [drm:intel_crtc_cursor_set], cursor off
[ 200.290451] [drm:intel_crtc_set_config], [CRTC:4] [NOFB]
[ 200.290454] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[ 200.300637] [drm:i915_driver_open],
[ 200.300646] [drm:intel_crtc_cursor_set], cursor off
[ 200.300647] [drm:intel_crtc_set_config], [CRTC:3] [FB:37] #connectors=1 (x
y) (0 0)
[ 200.300651] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[ 200.300653] [drm:intel_crtc_cursor_set], cursor off
[ 200.300655] [drm:intel_crtc_set_config], [CRTC:4] [NOFB]
[ 200.300657] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[ 200.300663] [drm:i915_driver_open],
[ 200.300700] [drm:intel_crtc_cursor_set], cursor off
[ 200.300702] [drm:intel_crtc_set_config], [CRTC:3] [FB:37] #connectors=1 (x
y) (0 0)
[ 200.300705] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[ 200.300708] [drm:intel_crtc_cursor_set], cursor off
[ 200.300709] [drm:intel_crtc_set_config], [CRTC:4] [NOFB]
[ 200.300711] [drm:intel_modeset_stage_output_state], [CONNECTOR:5:LVDS-1] to
[CRTC:3]
[ 200.695181] [drm:i915_error_state_write], Resetting error state</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>