Home
last modified time | relevance | path

Searched refs:runlist (Results 1 – 25 of 33) sorted by relevance

12

/drivers/gpu/drm/nouveau/nvif/
Dfifo.c32 struct nv_device_info_v1_data runlist[64]; in nvif_fifo_runlists() member
37 if (device->runlist) in nvif_fifo_runlists()
45 for (i = 0; i < ARRAY_SIZE(a->v.runlist); i++) in nvif_fifo_runlists()
46 a->v.runlist[i].mthd = NV_DEVICE_FIFO_RUNLIST_ENGINES(i); in nvif_fifo_runlists()
53 device->runlist = kcalloc(device->runlists, sizeof(*device->runlist), in nvif_fifo_runlists()
55 if (!device->runlist) { in nvif_fifo_runlists()
62 device->runlist[i].engines = a->v.runlist[i].data; in nvif_fifo_runlists()
93 if (device->runlist[i].engines & a.v.engine.data) in nvif_fifo_runlist()
Ddevice.c41 kfree(device->runlist); in nvif_device_fini()
42 device->runlist = NULL; in nvif_device_fini()
52 device->runlist = NULL; in nvif_device_init()
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgpfifogv100.c131 int runlist = ffs(*runlists) -1, ret, i; in gv100_fifo_gpfifo_new_() local
137 if (!vmm || runlist < 0 || runlist >= fifo->runlist_nr) in gv100_fifo_gpfifo_new_()
139 *runlists = BIT_ULL(runlist); in gv100_fifo_gpfifo_new_()
141 engm = fifo->runlist[runlist].engm; in gv100_fifo_gpfifo_new_()
152 chan->runl = runlist; in gv100_fifo_gpfifo_new_()
239 args->v0.ilength, args->v0.runlist, args->v0.priv); in gv100_fifo_gpfifo_new()
243 &args->v0.runlist, in gv100_fifo_gpfifo_new()
Dnv50.c36 cur = fifo->runlist[fifo->cur_runlist]; in nv50_fifo_runlist_update_locked()
67 false, &fifo->runlist[0]); in nv50_fifo_oneinit()
72 false, &fifo->runlist[1]); in nv50_fifo_oneinit()
103 nvkm_memory_unref(&fifo->runlist[1]); in nv50_fifo_dtor()
104 nvkm_memory_unref(&fifo->runlist[0]); in nv50_fifo_dtor()
Dgk104.c181 const struct gk104_fifo_runlist_func *func = fifo->func->runlist; in gk104_fifo_runlist_update()
189 mem = fifo->runlist[runl].mem[fifo->runlist[runl].next]; in gk104_fifo_runlist_update()
190 fifo->runlist[runl].next = !fifo->runlist[runl].next; in gk104_fifo_runlist_update()
193 list_for_each_entry(chan, &fifo->runlist[runl].chan, head) { in gk104_fifo_runlist_update()
197 list_for_each_entry(cgrp, &fifo->runlist[runl].cgrp, head) { in gk104_fifo_runlist_update()
229 list_add_tail(&cgrp->head, &fifo->runlist[chan->runl].cgrp); in gk104_fifo_runlist_insert()
232 list_add_tail(&chan->head, &fifo->runlist[chan->runl].chan); in gk104_fifo_runlist_insert()
335 list_for_each_entry(chan, &fifo->runlist[runl].chan, head) { in gk104_fifo_recover_chid()
342 list_for_each_entry(cgrp, &fifo->runlist[runl].cgrp, head) { in gk104_fifo_recover_chid()
364 unsigned long engn, engm = fifo->runlist[runl].engm; in gk104_fifo_recover_chan()
[all …]
Dgpfifogk104.c249 int runlist = ffs(*runlists) -1, ret, i; in gk104_fifo_gpfifo_new_() local
254 if (!vmm || runlist < 0 || runlist >= fifo->runlist_nr) in gk104_fifo_gpfifo_new_()
256 *runlists = BIT_ULL(runlist); in gk104_fifo_gpfifo_new_()
258 engm = fifo->runlist[runlist].engm; in gk104_fifo_gpfifo_new_()
272 chan->runl = runlist; in gk104_fifo_gpfifo_new_()
345 args->v0.ilength, args->v0.runlist, args->v0.priv); in gk104_fifo_gpfifo_new()
349 &args->v0.runlist, in gk104_fifo_gpfifo_new()
Dgf100.c61 cur = fifo->runlist.mem[fifo->runlist.active]; in gf100_fifo_runlist_commit()
62 fifo->runlist.active = !fifo->runlist.active; in gf100_fifo_runlist_commit()
85 if (wait_event_timeout(fifo->runlist.wait, in gf100_fifo_runlist_commit()
450 wake_up(&fifo->runlist.wait); in gf100_fifo_intr_runlist()
589 false, &fifo->runlist.mem[0]); in gf100_fifo_oneinit()
594 false, &fifo->runlist.mem[1]); in gf100_fifo_oneinit()
598 init_waitqueue_head(&fifo->runlist.wait); in gf100_fifo_oneinit()
663 nvkm_memory_unref(&fifo->runlist.mem[0]); in gf100_fifo_dtor()
664 nvkm_memory_unref(&fifo->runlist.mem[1]); in gf100_fifo_dtor()
Dgpfifotu102.c67 args->v0.ilength, args->v0.runlist, args->v0.priv); in tu102_fifo_gpfifo_new()
71 &args->v0.runlist, in tu102_fifo_gpfifo_new()
Dgk104.h38 } runlist[16]; member
74 } *runlist; member
Dnv50.h9 struct nvkm_memory *runlist[2]; member
Dgk20a.c36 .runlist = &gk110_fifo_runlist,
Dgm20b.c36 .runlist = &gm107_fifo_runlist,
Dgp10b.c36 .runlist = &gm107_fifo_runlist,
Dgf100.h26 } runlist; member
Dgm200.c52 .runlist = &gm107_fifo_runlist,
Dgk110.c58 .runlist = &gk110_fifo_runlist,
Dgk208.c55 .runlist = &gk110_fifo_runlist,
Dtu102.c106 .runlist = &tu102_fifo_runlist,
/drivers/gpu/drm/nouveau/nvkm/subdev/top/
Dbase.c35 info->runlist = -1; in nvkm_top_device_new()
150 if (info->engine >= 0 && info->runlist >= 0 && n++ == index) { in nvkm_top_engine()
151 *runl = info->runlist; in nvkm_top_engine()
Dgk104.c58 info->runlist = (data & 0x01e00000) >> 21; in gk104_top_oneinit()
103 info->addr, info->fault, info->engine, info->runlist, in gk104_top_oneinit()
Dpriv.h19 int runlist; member
/drivers/gpu/drm/nouveau/
Dnouveau_chan.c227 u64 runlist, bool priv, struct nouveau_channel **pchan) in nouveau_channel_ind() argument
262 args.volta.runlist = runlist; in nouveau_channel_ind()
271 args.kepler.runlist = runlist; in nouveau_channel_ind()
/drivers/gpu/drm/nouveau/include/nvif/
Dcla06f.h11 __u64 runlist; member
Dclc36f.h11 __u64 runlist; member
Ddevice.h15 } *runlist; member

12