From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 70213] [git-v3.12-rc3 + nouveau HEAD] Vmalloc failure -> pci_pm_freeze(): nouveau_pmops_freeze+0x0/0x50 returns -12 Date: Mon, 17 Feb 2014 05:31:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1961911241==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1961911241== Content-Type: multipart/alternative; boundary="1392615098.BD172.2209"; charset="us-ascii" --1392615098.BD172.2209 Date: Mon, 17 Feb 2014 05:31:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D70213 --- Comment #7 from Ilia Mirkin --- (In reply to comment #6) > I tried this: >=20 > nv84_fence_suspend(struct nouveau_drm *drm) > { > struct nouveau_fifo *pfifo =3D nouveau_fifo(drm->device); > struct nv84_fence_priv *priv =3D drm->fence; > int i; >=20 > priv->suspend =3D vmalloc((pfifo->max + 1) * sizeof(u32)); > if (priv->suspend) { > for (i =3D 0; i <=3D pfifo->max; i++) > priv->suspend[i] =3D nouveau_bo_rd32(priv->bo, i*4); > } >=20 > /*return priv->suspend !=3D NULL;*/ > return false; > } >=20 > 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... W= as 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 hi= t. --=20 You are receiving this mail because: You are the assignee for the bug. --1392615098.BD172.2209 Date: Mon, 17 Feb 2014 05:31:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 7 on bug 70213<= /a> from Ilia Mirkin
(In reply to comment #6=
)
> I tried this:
>=20
> nv84_fence_suspend(struct nouveau_drm *drm)
> {
> 	struct nouveau_fifo *pfifo =3D nouveau_fifo(drm->device);
> 	struct nv84_fence_priv *priv =3D drm->fence;
> 	int i;
>=20
> 	priv->suspend =3D vmalloc((pfifo->max + 1) * sizeof(u32));
> 	if (priv->suspend) {
> 		for (i =3D 0; i <=3D pfifo->max; i++)
> 			priv->suspend[i] =3D nouveau_bo_rd32(priv->bo, i*4);
> 	}
>=20
> 	/*return priv->suspend !=3D NULL;*/
> 	return false;
> }
>=20
> This did not work, the laptop suspended (which is actually good news s=
ince
> it started working for this hardware).

I find that very hard to believe. The suspend should have been aborted... W=
as
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 hi=
t.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1392615098.BD172.2209-- --===============1961911241== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1961911241==--