[Nouveau] [Bug 70213] [git-v3.12-rc3 + nouveau HEAD] Vmalloc failure -> pci_pm_freeze(): nouveau_pmops_freeze+0x0/0x50 returns -12
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Feb 16 09:17:07 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=70213
--- Comment #6 from Ronald <ronald645 at gmail.com> ---
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).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20140216/8a76949a/attachment.html>
More information about the Nouveau
mailing list