Lines Matching defs:drm
102 struct nv84_fence_priv *priv = chan->drm->fence;
109 struct nv84_fence_priv *priv = chan->drm->fence;
124 struct nv84_fence_priv *priv = chan->drm->fence;
150 nv84_fence_suspend(struct nouveau_drm *drm)
152 struct nv84_fence_priv *priv = drm->fence;
155 priv->suspend = vmalloc(array_size(sizeof(u32), drm->chan.nr));
157 for (i = 0; i < drm->chan.nr; i++)
165 nv84_fence_resume(struct nouveau_drm *drm)
167 struct nv84_fence_priv *priv = drm->fence;
171 for (i = 0; i < drm->chan.nr; i++)
179 nv84_fence_destroy(struct nouveau_drm *drm)
181 struct nv84_fence_priv *priv = drm->fence;
186 drm->fence = NULL;
191 nv84_fence_create(struct nouveau_drm *drm)
197 priv = drm->fence = kzalloc(sizeof(*priv), GFP_KERNEL);
212 domain = drm->client.device.info.ram_size != 0 ?
219 ret = nouveau_bo_new(&drm->client, 16 * drm->chan.nr, 0,
233 nv84_fence_destroy(drm);