Lines Matching +full:0 +full:x02000

80 	return 0;  in nouveau_channel_idle()
128 if (ret == 0) { in nouveau_channel_wait()
154 atomic_set(&chan->killed, 0); in nouveau_channel_prep()
161 ret = nouveau_bo_new(cli, size, 0, target, 0, 0, NULL, NULL, in nouveau_channel_prep()
163 if (ret == 0) { in nouveau_channel_prep()
165 if (ret == 0) in nouveau_channel_prep()
199 return 0; in nouveau_channel_prep()
203 args.start = 0; in nouveau_channel_prep()
220 args.start = 0; in nouveau_channel_prep()
233 args.start = 0; in nouveau_channel_prep()
238 ret = nvif_object_ctor(&device->object, "abi16PushCtxDma", 0, in nouveau_channel_prep()
246 return 0; in nouveau_channel_prep()
263 0 }; in nouveau_channel_ind()
276 ret = nouveau_channel_prep(drm, device, 0x12000, &chan); in nouveau_channel_ind()
283 if (oclass[0] >= VOLTA_CHANNEL_GPFIFO_A) { in nouveau_channel_ind()
284 args.volta.version = 0; in nouveau_channel_ind()
285 args.volta.ilength = 0x02000; in nouveau_channel_ind()
286 args.volta.ioffset = 0x10000 + chan->push.addr; in nouveau_channel_ind()
292 if (oclass[0] >= KEPLER_CHANNEL_GPFIFO_A) { in nouveau_channel_ind()
293 args.kepler.version = 0; in nouveau_channel_ind()
294 args.kepler.ilength = 0x02000; in nouveau_channel_ind()
295 args.kepler.ioffset = 0x10000 + chan->push.addr; in nouveau_channel_ind()
301 if (oclass[0] >= FERMI_CHANNEL_GPFIFO) { in nouveau_channel_ind()
302 args.fermi.version = 0; in nouveau_channel_ind()
303 args.fermi.ilength = 0x02000; in nouveau_channel_ind()
304 args.fermi.ioffset = 0x10000 + chan->push.addr; in nouveau_channel_ind()
308 args.nv50.version = 0; in nouveau_channel_ind()
309 args.nv50.ilength = 0x02000; in nouveau_channel_ind()
310 args.nv50.ioffset = 0x10000 + chan->push.addr; in nouveau_channel_ind()
316 ret = nvif_object_ctor(&device->object, "abi16ChanUser", 0, in nouveau_channel_ind()
318 if (ret == 0) { in nouveau_channel_ind()
349 0 }; in nouveau_channel_dma()
356 ret = nouveau_channel_prep(drm, device, 0x10000, &chan); in nouveau_channel_dma()
362 args.version = 0; in nouveau_channel_dma()
367 ret = nvif_object_ctor(&device->object, "abi16ChanUser", 0, in nouveau_channel_dma()
370 if (ret == 0) { in nouveau_channel_dma()
388 ret = nvif_object_map(&chan->user, NULL, 0); in nouveau_channel_init()
397 NULL, 0, 0, &chan->kill); in nouveau_channel_init()
398 if (ret == 0) in nouveau_channel_init()
412 args.start = 0; in nouveau_channel_init()
417 args.start = 0; in nouveau_channel_init()
430 args.start = 0; in nouveau_channel_init()
442 args.start = 0; in nouveau_channel_init()
454 switch (chan->user.oclass & 0x00ff) { in nouveau_channel_init()
455 case 0x006b: in nouveau_channel_init()
456 case 0x006e: in nouveau_channel_init()
457 chan->user_put = 0x40; in nouveau_channel_init()
458 chan->user_get = 0x44; in nouveau_channel_init()
459 chan->dma.max = (0x10000 / 4) - 2; in nouveau_channel_init()
462 chan->user_put = 0x40; in nouveau_channel_init()
463 chan->user_get = 0x44; in nouveau_channel_init()
464 chan->user_get_hi = 0x60; in nouveau_channel_init()
465 chan->dma.ib_base = 0x10000 / 4; in nouveau_channel_init()
466 chan->dma.ib_max = (0x02000 / 8) - 1; in nouveau_channel_init()
467 chan->dma.ib_put = 0; in nouveau_channel_init()
473 chan->dma.put = 0; in nouveau_channel_init()
481 for (i = 0; i < NOUVEAU_DMA_SKIPS; i++) in nouveau_channel_init()
482 PUSH_DATA(chan->chan.push, 0x00000000); in nouveau_channel_init()
486 ret = nvif_object_ctor(&chan->user, "abi16NvswFence", 0x006e, in nouveau_channel_init()
488 NULL, 0, &chan->nvsw); in nouveau_channel_init()
496 PUSH_NVSQ(chan->chan.push, NV_SW, 0x0000, chan->nvsw.handle); in nouveau_channel_init()
559 return 0; in nouveau_channels_init()