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

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

Reply via email to