Lines Matching refs:init
282 struct drm_nouveau_channel_alloc *init = data;
309 if (init->fb_ctxdma_handle == ~0) {
310 switch (init->tt_ctxdma_handle) {
320 init->fb_ctxdma_handle = 0;
321 init->tt_ctxdma_handle = 0;
330 if (!runm || init->fb_ctxdma_handle == ~0 || init->tt_ctxdma_handle == ~0)
342 ret = nouveau_channel_new(drm, device, false, runm, init->fb_ctxdma_handle,
343 init->tt_ctxdma_handle, &chan->chan);
352 init->channel = chan->chan->chid;
355 init->pushbuf_domains = NOUVEAU_GEM_DOMAIN_VRAM |
359 init->pushbuf_domains = NOUVEAU_GEM_DOMAIN_VRAM;
361 init->pushbuf_domains = NOUVEAU_GEM_DOMAIN_GART;
364 init->subchan[0].handle = 0x00000000;
365 init->subchan[0].grclass = 0x0000;
366 init->subchan[1].handle = chan->chan->nvsw.handle;
367 init->subchan[1].grclass = 0x506e;
368 init->nr_subchan = 2;
373 * channel init, now we know what that stuff actually is.
413 &init->notifier_handle);
495 struct drm_nouveau_grobj_alloc *init = data;
507 if (init->handle == ~0)
511 chan = nouveau_abi16_chan(abi16, init->channel);
519 if ((init->class & 0x00ff) == 0x006e) {
534 if ((init->class & 0x00ff) == 0x00b1) {
543 if ((init->class & 0x00ff) == 0x00b2) { /* mspdec */
552 if ((init->class & 0x00ff) == 0x00b3) { /* msppp */
561 oclass = init->class;
575 ret = nvif_object_ctor(&chan->chan->user, "abi16EngObj", init->handle,