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

--- Comment #7 from Ilia Mirkin <[email protected]> ---
(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.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to