Lines Matching refs:bo
116 return nouveau_bo_rd32(priv->bo, fifo->chid * 16/4); in nv84_fence_read()
128 struct nouveau_bo *bo = nv50_display_crtc_sema(dev, i); in nv84_fence_context_del() local
129 nouveau_bo_vma_del(bo, &fctx->dispc_vma[i]); in nv84_fence_context_del()
132 nouveau_bo_vma_del(priv->bo, &fctx->vma_gart); in nv84_fence_context_del()
133 nouveau_bo_vma_del(priv->bo, &fctx->vma); in nv84_fence_context_del()
159 ret = nouveau_bo_vma_add(priv->bo, client->vm, &fctx->vma); in nv84_fence_context_new()
167 struct nouveau_bo *bo = nv50_display_crtc_sema(chan->drm->dev, i); in nv84_fence_context_new() local
168 ret = nouveau_bo_vma_add(bo, client->vm, &fctx->dispc_vma[i]); in nv84_fence_context_new()
171 nouveau_bo_wr32(priv->bo, fifo->chid * 16/4, 0x00000000); in nv84_fence_context_new()
188 priv->suspend[i] = nouveau_bo_rd32(priv->bo, i*4); in nv84_fence_suspend()
203 nouveau_bo_wr32(priv->bo, i*4, priv->suspend[i]); in nv84_fence_resume()
217 nouveau_bo_unmap(priv->bo); in nv84_fence_destroy()
218 if (priv->bo) in nv84_fence_destroy()
219 nouveau_bo_unpin(priv->bo); in nv84_fence_destroy()
220 nouveau_bo_ref(NULL, &priv->bo); in nv84_fence_destroy()
246 TTM_PL_FLAG_VRAM, 0, 0, NULL, &priv->bo); in nv84_fence_create()
248 ret = nouveau_bo_pin(priv->bo, TTM_PL_FLAG_VRAM); in nv84_fence_create()
250 ret = nouveau_bo_map(priv->bo); in nv84_fence_create()
252 nouveau_bo_unpin(priv->bo); in nv84_fence_create()
255 nouveau_bo_ref(NULL, &priv->bo); in nv84_fence_create()