/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gf100.c | 109 gf100_fifo_engidx(struct gf100_fifo *fifo, u32 engn) in gf100_fifo_engidx() argument 111 switch (engn) { in gf100_fifo_engidx() 112 case NVKM_ENGINE_GR : engn = 0; break; in gf100_fifo_engidx() 113 case NVKM_ENGINE_MSVLD : engn = 1; break; in gf100_fifo_engidx() 114 case NVKM_ENGINE_MSPPP : engn = 2; break; in gf100_fifo_engidx() 115 case NVKM_ENGINE_MSPDEC: engn = 3; break; in gf100_fifo_engidx() 116 case NVKM_ENGINE_CE0 : engn = 4; break; in gf100_fifo_engidx() 117 case NVKM_ENGINE_CE1 : engn = 5; break; in gf100_fifo_engidx() 122 return engn; in gf100_fifo_engidx() 126 gf100_fifo_engine(struct gf100_fifo *fifo, u32 engn) in gf100_fifo_engine() argument [all …]
|
D | chan.c | 45 struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index]; in nvkm_fifo_chan_child_fini() local 49 if (--engn->usecount) in nvkm_fifo_chan_child_fini() 61 if (engn->object) { in nvkm_fifo_chan_child_fini() 62 ret = nvkm_object_fini(engn->object, suspend); in nvkm_fifo_chan_child_fini() 78 struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index]; in nvkm_fifo_chan_child_init() local 82 if (engn->usecount++) in nvkm_fifo_chan_child_init() 85 if (engn->object) { in nvkm_fifo_chan_child_init() 86 ret = nvkm_object_init(engn->object); in nvkm_fifo_chan_child_init() 111 struct nvkm_fifo_engn *engn = &chan->engn[engine->subdev.index]; in nvkm_fifo_chan_child_del() local 116 if (!--engn->refcount) { in nvkm_fifo_chan_child_del() [all …]
|
D | gk104.c | 52 gk104_fifo_engine_status(struct gk104_fifo *fifo, int engn, in gk104_fifo_engine_status() argument 55 struct nvkm_engine *engine = fifo->engine[engn].engine; in gk104_fifo_engine_status() 58 u32 stat = nvkm_rd32(device, 0x002640 + (engn * 0x08)); in gk104_fifo_engine_status() 90 engn, status->busy, status->faulted, in gk104_fifo_engine_status() 103 if (oclass->engn == &fifo->func->chan) { in gk104_fifo_class_new() 104 const struct gk104_fifo_chan_user *user = oclass->engn; in gk104_fifo_class_new() 107 if (oclass->engn == &fifo->func->user) { in gk104_fifo_class_new() 108 const struct gk104_fifo_user_user *user = oclass->engn; in gk104_fifo_class_new() 124 oclass->engn = &fifo->func->user; in gk104_fifo_class_get() 130 oclass->engn = &fifo->func->chan; in gk104_fifo_class_get() [all …]
|
D | gpfifogf100.c | 114 u64 addr = chan->engn[engine->subdev.index].vma->addr; in gf100_fifo_gpfifo_engine_init() 129 nvkm_vmm_put(chan->base.vmm, &chan->engn[engine->subdev.index].vma); in gf100_fifo_gpfifo_engine_dtor() 130 nvkm_gpuobj_del(&chan->engn[engine->subdev.index].inst); in gf100_fifo_gpfifo_engine_dtor() 139 int engn = engine->subdev.index; in gf100_fifo_gpfifo_engine_ctor() local 145 ret = nvkm_object_bind(object, NULL, 0, &chan->engn[engn].inst); in gf100_fifo_gpfifo_engine_ctor() 149 ret = nvkm_vmm_get(chan->base.vmm, 12, chan->engn[engn].inst->size, in gf100_fifo_gpfifo_engine_ctor() 150 &chan->engn[engn].vma); in gf100_fifo_gpfifo_engine_ctor() 154 return nvkm_memory_map(chan->engn[engn].inst, 0, chan->base.vmm, in gf100_fifo_gpfifo_engine_ctor() 155 chan->engn[engn].vma, NULL, 0); in gf100_fifo_gpfifo_engine_ctor()
|
D | chang84.c | 97 u32 engn, save; in g84_fifo_chan_engine_fini() local 105 engn = g84_fifo_chan_engine(engine); in g84_fifo_chan_engine_fini() 106 save = nvkm_mask(device, 0x002520, 0x0000003f, 1 << engn); in g84_fifo_chan_engine_fini() 137 struct nvkm_gpuobj *engn = chan->engn[engine->subdev.index]; in g84_fifo_chan_engine_init() local 144 limit = engn->addr + engn->size - 1; in g84_fifo_chan_engine_init() 145 start = engn->addr; in g84_fifo_chan_engine_init() 165 int engn = engine->subdev.index; in g84_fifo_chan_engine_ctor() local 170 return nvkm_object_bind(object, NULL, 0, &chan->engn[engn]); in g84_fifo_chan_engine_ctor()
|
D | gpfifogk104.c | 133 u64 addr = chan->engn[engine->subdev.index].vma->addr; in gk104_fifo_gpfifo_engine_init() 154 nvkm_vmm_put(chan->base.vmm, &chan->engn[engine->subdev.index].vma); in gk104_fifo_gpfifo_engine_dtor() 155 nvkm_gpuobj_del(&chan->engn[engine->subdev.index].inst); in gk104_fifo_gpfifo_engine_dtor() 164 int engn = engine->subdev.index; in gk104_fifo_gpfifo_engine_ctor() local 170 ret = nvkm_object_bind(object, NULL, 0, &chan->engn[engn].inst); in gk104_fifo_gpfifo_engine_ctor() 174 ret = nvkm_vmm_get(chan->base.vmm, 12, chan->engn[engn].inst->size, in gk104_fifo_gpfifo_engine_ctor() 175 &chan->engn[engn].vma); in gk104_fifo_gpfifo_engine_ctor() 179 return nvkm_memory_map(chan->engn[engn].inst, 0, chan->base.vmm, in gk104_fifo_gpfifo_engine_ctor() 180 chan->engn[engn].vma, NULL, 0); in gk104_fifo_gpfifo_engine_ctor()
|
D | channv50.c | 106 struct nvkm_gpuobj *engn = chan->engn[engine->subdev.index]; in nv50_fifo_chan_engine_init() local 113 limit = engn->addr + engn->size - 1; in nv50_fifo_chan_engine_init() 114 start = engn->addr; in nv50_fifo_chan_engine_init() 133 nvkm_gpuobj_del(&chan->engn[engine->subdev.index]); in nv50_fifo_chan_engine_dtor() 142 int engn = engine->subdev.index; in nv50_fifo_chan_engine_ctor() local 147 return nvkm_object_bind(object, NULL, 0, &chan->engn[engn]); in nv50_fifo_chan_engine_ctor()
|
D | dmanv40.c | 102 inst = chan->engn[engine->subdev.index]->addr >> 4; in nv40_fifo_dma_engine_init() 124 nvkm_gpuobj_del(&chan->engn[engine->subdev.index]); in nv40_fifo_dma_engine_dtor() 133 const int engn = engine->subdev.index; in nv40_fifo_dma_engine_ctor() local 139 return nvkm_object_bind(object, NULL, 0, &chan->engn[engn]); in nv40_fifo_dma_engine_ctor()
|
D | changf100.h | 18 } engn[NVKM_SUBDEV_NR]; member
|
D | channv04.h | 12 struct nvkm_gpuobj *engn[NVKM_SUBDEV_NR]; member
|
D | channv50.h | 18 struct nvkm_gpuobj *engn[NVKM_SUBDEV_NR]; member
|
D | changk104.h | 22 } engn[NVKM_SUBDEV_NR]; member
|
D | base.c | 237 const struct nvkm_fifo_chan_oclass *sclass = oclass->engn; in nvkm_fifo_class_new() 265 oclass->engn = sclass; in nvkm_fifo_class_get()
|
D | gpfifogv100.c | 100 addr = chan->engn[engine->subdev.index].vma->addr; in gv100_fifo_gpfifo_engine_init()
|
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/sw/ |
D | base.c | 54 const struct nvkm_sw_chan_sclass *sclass = oclass->engn; in nvkm_sw_oclass_new() 66 oclass->engn = &sw->func->sclass[index]; in nvkm_sw_oclass_get()
|
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/top/ |
D | base.c | 143 nvkm_top_engine(struct nvkm_device *device, int index, int *runl, int *engn) in nvkm_top_engine() argument 152 *engn = info->engine; in nvkm_top_engine()
|
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | oclass.h | 22 const void *engn; member
|
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | top.h | 18 enum nvkm_devidx nvkm_top_engine(struct nvkm_device *, int, int *runl, int *engn);
|
/Linux-v5.10/drivers/gpu/drm/nouveau/include/nvkm/engine/ |
D | fifo.h | 32 struct nvkm_fifo_engn engn[NVKM_SUBDEV_NR]; member
|
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
D | base.c | 74 sclass->engn = oclass; in nvkm_dma_oclass_base_get()
|
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | base.c | 168 const struct nvkm_disp_oclass *sclass = oclass->engn; in nvkm_disp_class_new() 202 oclass->engn = root; in nvkm_disp_class_get()
|