65 ret = RING_SPACE(chan, 5);
87 ret = RING_SPACE(chan, 5);
117 if (nv_device(chan->
drm->device)->card_type >= NV_D0) {
118 for (i = 0; i < dev->mode_config.num_crtc; i++) {
123 if (nv_device(chan->
drm->device)->card_type >= NV_50) {
124 for (i = 0; i < dev->mode_config.num_crtc; i++) {
153 nvc0_fence_context_del(chan);
156 for (i = 0; !ret && i < chan->
drm->dev->mode_config.num_crtc; i++) {
158 if (nv_device(chan->
drm->device)->card_type >= NV_D0)
179 for (i = 0; i <= pfifo->
max; i++)
194 for (i = 0; i <= pfifo->
max; i++)
206 nouveau_bo_ref(
NULL, &priv->
bo);
222 priv->
base.dtor = nvc0_fence_destroy;
223 priv->
base.suspend = nvc0_fence_suspend;
224 priv->
base.resume = nvc0_fence_resume;
225 priv->
base.context_new = nvc0_fence_context_new;
226 priv->
base.context_del = nvc0_fence_context_del;
227 priv->
base.emit = nvc0_fence_emit;
228 priv->
base.sync = nvc0_fence_sync;
229 priv->
base.read = nvc0_fence_read;
238 nouveau_bo_ref(
NULL, &priv->
bo);
242 nvc0_fence_destroy(drm);