Suspend/Resume on Lenovo IdeaPad S400 with FreeBSD 10?
Ivan Rokotov
ivan.rokotov.bsd at gmail.com
Sun Apr 13 23:07:50 UTC 2014
2014-04-14 2:03 GMT+04:00 Adrian Chadd <adrian at freebsd.org>:
> Hi!
>
> So why does this particular retry hack work? Is there some bug in the
> drm/i915 code that isn't correctly handling submitted requests in
> certain circumstances?
>
> What's the value of 'ret' from that call?
Hi Adrian,
With this code
xf86DrvMsg(scrn->scrnIndex, X_WARNING, "retrying batchbuffer submit,
ret=%d\n", ret);
I got after resume:
[ 8572.583] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8572.636] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8572.687] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8572.742] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8572.795] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8572.850] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8572.904] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8572.958] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8573.009] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8573.064] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8573.118] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8573.172] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8573.226] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8573.280] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8573.334] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8573.388] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8573.442] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8573.496] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8573.550] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8573.604] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8575.827] (WW) intel(0): retrying batchbuffer submit, ret=-16
[ 8575.936] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 8575.937] (WW) intel(0): drmDropMaster failed: Unknown error: -22
[ 8577.146] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 8577.248] (II) intel(0): EDID vendor "CMN", prod id 5239
[ 8577.248] (II) intel(0): Printing DDC gathered Modelines:
[ 8577.248] (II) intel(0): Modeline "1366x768"x0.0 71.59 1366 1410
1439 1512 768 771 775 789 -hsync -vsync (47.3 kHz eP)
Ivan
More information about the freebsd-mobile
mailing list