Lines Matching defs:drm
82 return chan->drm->runl[chan->runlist].chan_id_base + chan->chid;
108 struct nv84_fence_priv *priv = chan->drm->fence;
115 struct nv84_fence_priv *priv = chan->drm->fence;
130 struct nv84_fence_priv *priv = chan->drm->fence;
156 nv84_fence_suspend(struct nouveau_drm *drm)
158 struct nv84_fence_priv *priv = drm->fence;
161 priv->suspend = vmalloc(array_size(sizeof(u32), drm->chan_total));
163 for (i = 0; i < drm->chan_total; i++)
171 nv84_fence_resume(struct nouveau_drm *drm)
173 struct nv84_fence_priv *priv = drm->fence;
177 for (i = 0; i < drm->chan_total; i++)
185 nv84_fence_destroy(struct nouveau_drm *drm)
187 struct nv84_fence_priv *priv = drm->fence;
192 drm->fence = NULL;
197 nv84_fence_create(struct nouveau_drm *drm)
203 priv = drm->fence = kzalloc(sizeof(*priv), GFP_KERNEL);
218 domain = drm->client.device.info.ram_size != 0 ?
225 ret = nouveau_bo_new(&drm->client, 16 * drm->chan_total, 0,
239 nv84_fence_destroy(drm);