<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [git-v3.12-rc3 + nouveau HEAD] Vmalloc failure -> pci_pm_freeze(): nouveau_pmops_freeze+0x0/0x50 returns -12"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70213#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [git-v3.12-rc3 + nouveau HEAD] Vmalloc failure -> pci_pm_freeze(): nouveau_pmops_freeze+0x0/0x50 returns -12"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70213">bug 70213</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=70213#c6">comment #6</a>)
<span class="quote">> I tried this:
>
> nv84_fence_suspend(struct nouveau_drm *drm)
> {
> struct nouveau_fifo *pfifo = nouveau_fifo(drm->device);
> struct nv84_fence_priv *priv = drm->fence;
> int i;
>
> priv->suspend = vmalloc((pfifo->max + 1) * sizeof(u32));
> if (priv->suspend) {
> for (i = 0; i <= pfifo->max; i++)
> priv->suspend[i] = nouveau_bo_rd32(priv->bo, i*4);
> }
>
> /*return priv->suspend != NULL;*/
> return false;
> }
>
> This did not work, the laptop suspended (which is actually good news since
> it started working for this hardware).</span >
I find that very hard to believe. The suspend should have been aborted... Was
this on the NVD9? Or on your NV4E/whatever else you have? If it was on a
pre-nv84 card, there is no suspend function, and so that code path isn't hit.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>