[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 21:31:38 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=70213

--- Comment #7 from Ilia Mirkin <imirkin at alum.mit.edu> ---
(In reply to comment #6)
> 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).

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.

-- 
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/20140217/00685336/attachment.html>


More information about the Nouveau mailing list