Home
last modified time | relevance | path

Searched refs:runl (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dga102.c44 u32 runl; member
51 struct nvkm_memory *runl; member
93 nvkm_wr32(device, chan->ctrl.runl + 0x098, 0x01000000); in ga102_chan_fini()
95 if (!(nvkm_rd32(device, chan->ctrl.runl + 0x098) & 0x00100000)) in ga102_chan_fini()
99 nvkm_wr32(device, chan->ctrl.runl + 0x088, 0); in ga102_chan_fini()
111 nvkm_mask(device, chan->ctrl.runl + 0x300, 0x80000000, 0x80000000); in ga102_chan_init()
113 nvkm_wr32(device, chan->ctrl.runl + 0x080, lower_32_bits(nvkm_memory_addr(chan->runl))); in ga102_chan_init()
114 nvkm_wr32(device, chan->ctrl.runl + 0x084, upper_32_bits(nvkm_memory_addr(chan->runl))); in ga102_chan_init()
115 nvkm_wr32(device, chan->ctrl.runl + 0x088, 2); in ga102_chan_init()
118 nvkm_wr32(device, chan->ctrl.runl + 0x0090, 0); in ga102_chan_init()
[all …]
Dtu102.c38 tu102_fifo_runlist_commit(struct gk104_fifo *fifo, int runl, in tu102_fifo_runlist_commit() argument
45 nvkm_wr32(device, 0x002b00 + (runl * 0x10), lower_32_bits(addr)); in tu102_fifo_runlist_commit()
46 nvkm_wr32(device, 0x002b04 + (runl * 0x10), upper_32_bits(addr)); in tu102_fifo_runlist_commit()
47 nvkm_wr32(device, 0x002b08 + (runl * 0x10), nr); in tu102_fifo_runlist_commit()
126 int engn, runl; in tu102_fifo_recover_work() local
144 for (todo = runm; runl = __ffs(todo), todo; todo &= ~BIT(runl)) in tu102_fifo_recover_work()
145 gk104_fifo_runlist_update(fifo, runl); in tu102_fifo_recover_work()
153 tu102_fifo_recover_runl(struct gk104_fifo *fifo, int runl) in tu102_fifo_recover_runl() argument
157 const u32 runm = BIT(runl); in tu102_fifo_recover_runl()
168 nvkm_warn(subdev, "runlist %d: scheduled for recovery\n", runl); in tu102_fifo_recover_runl()
[all …]
Dgk104.c140 gk104_fifo_runlist_commit(struct gk104_fifo *fifo, int runl, in gk104_fifo_runlist_commit() argument
157 nvkm_wr32(device, 0x002274, (runl << 20) | nr); in gk104_fifo_runlist_commit()
160 if (!(nvkm_rd32(device, 0x002284 + (runl * 0x08)) & 0x00100000)) in gk104_fifo_runlist_commit()
163 nvkm_error(subdev, "runlist %d update timeout\n", runl); in gk104_fifo_runlist_commit()
167 gk104_fifo_runlist_update(struct gk104_fifo *fifo, int runl) in gk104_fifo_runlist_update() argument
176 mem = fifo->runlist[runl].mem[fifo->runlist[runl].next]; in gk104_fifo_runlist_update()
177 fifo->runlist[runl].next = !fifo->runlist[runl].next; in gk104_fifo_runlist_update()
180 list_for_each_entry(chan, &fifo->runlist[runl].chan, head) { in gk104_fifo_runlist_update()
184 list_for_each_entry(cgrp, &fifo->runlist[runl].cgrp, head) { in gk104_fifo_runlist_update()
192 func->commit(fifo, runl, mem, nr); in gk104_fifo_runlist_update()
[all …]
Dgk104.h26 int runl; member
73 void (*commit)(struct gk104_fifo *, int runl,
107 void gk104_fifo_runlist_update(struct gk104_fifo *, int runl);
140 void gk104_fifo_runlist_commit(struct gk104_fifo *, int runl,
Dgpfifogv100.c48 nvkm_mask(device, 0x002630, BIT(chan->runl), BIT(chan->runl)); in gv100_fifo_gpfifo_engine_valid()
60 nvkm_mask(device, 0x002630, BIT(chan->runl), 0); in gv100_fifo_gpfifo_engine_valid()
156 chan->runl = runlist; in gv100_fifo_gpfifo_new_()
Dgpfifogk104.c210 gk104_fifo_runlist_update(fifo, chan->runl); in gk104_fifo_gpfifo_fini()
225 nvkm_mask(device, 0x800004 + coff, 0x000f0000, chan->runl << 16); in gk104_fifo_gpfifo_init()
231 gk104_fifo_runlist_update(fifo, chan->runl); in gk104_fifo_gpfifo_init()
275 chan->runl = runlist; in gk104_fifo_gpfifo_new_()
Dchangk104.h11 int runl; member
Dgpfifotu102.c35 return (chan->runl << 16) | chan->base.chid; in tu102_fifo_gpfifo_submit_token()