Lines Matching refs:bo
107 return nouveau_bo_rd32(priv->bo, chan->chid * 16/4); in nv84_fence_read()
119 struct nouveau_bo *bo = nv50_display_crtc_sema(dev, i); in nv84_fence_context_del() local
120 nouveau_bo_vma_del(bo, &fctx->dispc_vma[i]); in nv84_fence_context_del()
123 nouveau_bo_wr32(priv->bo, chan->chid * 16 / 4, fctx->base.sequence); in nv84_fence_context_del()
124 nouveau_bo_vma_del(priv->bo, &fctx->vma_gart); in nv84_fence_context_del()
125 nouveau_bo_vma_del(priv->bo, &fctx->vma); in nv84_fence_context_del()
151 ret = nouveau_bo_vma_add(priv->bo, cli->vm, &fctx->vma); in nv84_fence_context_new()
159 struct nouveau_bo *bo = nv50_display_crtc_sema(chan->drm->dev, i); in nv84_fence_context_new() local
160 ret = nouveau_bo_vma_add(bo, cli->vm, &fctx->dispc_vma[i]); in nv84_fence_context_new()
177 priv->suspend[i] = nouveau_bo_rd32(priv->bo, i*4); in nv84_fence_suspend()
191 nouveau_bo_wr32(priv->bo, i*4, priv->suspend[i]); in nv84_fence_resume()
205 nouveau_bo_unmap(priv->bo); in nv84_fence_destroy()
206 if (priv->bo) in nv84_fence_destroy()
207 nouveau_bo_unpin(priv->bo); in nv84_fence_destroy()
208 nouveau_bo_ref(NULL, &priv->bo); in nv84_fence_destroy()
243 0, NULL, NULL, &priv->bo); in nv84_fence_create()
245 ret = nouveau_bo_pin(priv->bo, domain, false); in nv84_fence_create()
247 ret = nouveau_bo_map(priv->bo); in nv84_fence_create()
249 nouveau_bo_unpin(priv->bo); in nv84_fence_create()
252 nouveau_bo_ref(NULL, &priv->bo); in nv84_fence_create()