Date: Mon, 14 Apr 2014 03:07:49 +0400 From: Ivan Rokotov <ivan.rokotov.bsd@gmail.com> To: Adrian Chadd <adrian@freebsd.org> Cc: Kevin Oberman <rkoberman@gmail.com>, freebsd-x11@freebsd.org, "freebsd-mobile@freebsd.org" <freebsd-mobile@freebsd.org> Subject: Re: Suspend/Resume on Lenovo IdeaPad S400 with FreeBSD 10? Message-ID: <CAOTTJKGUDzfis8CsQzb2Kg=pRFdvr7Xwns1U8276KdE3%2BDDgtA@mail.gmail.com> In-Reply-To: <CAJ-VmonSH1VwMuuc_ixZ55ocMAHSN=dZcs2aFJQP8=M9_xPJEw@mail.gmail.com> References: <CAOTTJKFF-0ihGNyUsNDAc8%2BhxRO51tqZ8f_ocP7MYrFNrCAMFw@mail.gmail.com> <201404081719.41379.jhb@freebsd.org> <CAOTTJKGZpf=c-Kemknrz1buoqqRTYY0qnz68cvFS28TRXUmeEw@mail.gmail.com> <CAN6yY1vMiQ1Hs30OMS1Oee8aJqHiQTZRmuoMiNB8dS0wYW7VPg@mail.gmail.com> <CAOTTJKFPTTbg9GZv1Vvwc%2BRYRQXXYA2pk5Lr%2BZid64gp3b4-9w@mail.gmail.com> <CAJ-VmonSH1VwMuuc_ixZ55ocMAHSN=dZcs2aFJQP8=M9_xPJEw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2014-04-14 2:03 GMT+04:00 Adrian Chadd <adrian@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOTTJKGUDzfis8CsQzb2Kg=pRFdvr7Xwns1U8276KdE3%2BDDgtA>