Home
last modified time | relevance | path

Searched refs:ramfc (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Ddmag84.c67 nvkm_kmap(chan->ramfc); in g84_fifo_dma_new()
68 nvkm_wo32(chan->ramfc, 0x08, lower_32_bits(args->v0.offset)); in g84_fifo_dma_new()
69 nvkm_wo32(chan->ramfc, 0x0c, upper_32_bits(args->v0.offset)); in g84_fifo_dma_new()
70 nvkm_wo32(chan->ramfc, 0x10, lower_32_bits(args->v0.offset)); in g84_fifo_dma_new()
71 nvkm_wo32(chan->ramfc, 0x14, upper_32_bits(args->v0.offset)); in g84_fifo_dma_new()
72 nvkm_wo32(chan->ramfc, 0x3c, 0x003f6078); in g84_fifo_dma_new()
73 nvkm_wo32(chan->ramfc, 0x44, 0x01003fff); in g84_fifo_dma_new()
74 nvkm_wo32(chan->ramfc, 0x48, chan->base.push->node->offset >> 4); in g84_fifo_dma_new()
75 nvkm_wo32(chan->ramfc, 0x4c, 0xffffffff); in g84_fifo_dma_new()
76 nvkm_wo32(chan->ramfc, 0x60, 0x7fffffff); in g84_fifo_dma_new()
[all …]
Ddmanv50.c67 nvkm_kmap(chan->ramfc); in nv50_fifo_dma_new()
68 nvkm_wo32(chan->ramfc, 0x08, lower_32_bits(args->v0.offset)); in nv50_fifo_dma_new()
69 nvkm_wo32(chan->ramfc, 0x0c, upper_32_bits(args->v0.offset)); in nv50_fifo_dma_new()
70 nvkm_wo32(chan->ramfc, 0x10, lower_32_bits(args->v0.offset)); in nv50_fifo_dma_new()
71 nvkm_wo32(chan->ramfc, 0x14, upper_32_bits(args->v0.offset)); in nv50_fifo_dma_new()
72 nvkm_wo32(chan->ramfc, 0x3c, 0x003f6078); in nv50_fifo_dma_new()
73 nvkm_wo32(chan->ramfc, 0x44, 0x01003fff); in nv50_fifo_dma_new()
74 nvkm_wo32(chan->ramfc, 0x48, chan->base.push->node->offset >> 4); in nv50_fifo_dma_new()
75 nvkm_wo32(chan->ramfc, 0x4c, 0xffffffff); in nv50_fifo_dma_new()
76 nvkm_wo32(chan->ramfc, 0x60, 0x7fffffff); in nv50_fifo_dma_new()
[all …]
Dgpfifog84.c71 nvkm_kmap(chan->ramfc); in g84_fifo_gpfifo_new()
72 nvkm_wo32(chan->ramfc, 0x3c, 0x403f6078); in g84_fifo_gpfifo_new()
73 nvkm_wo32(chan->ramfc, 0x44, 0x01003fff); in g84_fifo_gpfifo_new()
74 nvkm_wo32(chan->ramfc, 0x48, chan->base.push->node->offset >> 4); in g84_fifo_gpfifo_new()
75 nvkm_wo32(chan->ramfc, 0x50, lower_32_bits(ioffset)); in g84_fifo_gpfifo_new()
76 nvkm_wo32(chan->ramfc, 0x54, upper_32_bits(ioffset) | (ilength << 16)); in g84_fifo_gpfifo_new()
77 nvkm_wo32(chan->ramfc, 0x60, 0x7fffffff); in g84_fifo_gpfifo_new()
78 nvkm_wo32(chan->ramfc, 0x78, 0x00000000); in g84_fifo_gpfifo_new()
79 nvkm_wo32(chan->ramfc, 0x7c, 0x30000001); in g84_fifo_gpfifo_new()
80 nvkm_wo32(chan->ramfc, 0x80, ((chan->ramht->bits - 9) << 27) | in g84_fifo_gpfifo_new()
[all …]
Ddmanv40.c79 nvkm_kmap(imem->ramfc); in nv40_fifo_dma_engine_fini()
80 nvkm_wo32(imem->ramfc, chan->ramfc + ctx, 0x00000000); in nv40_fifo_dma_engine_fini()
81 nvkm_done(imem->ramfc); in nv40_fifo_dma_engine_fini()
110 nvkm_kmap(imem->ramfc); in nv40_fifo_dma_engine_init()
111 nvkm_wo32(imem->ramfc, chan->ramfc + ctx, inst); in nv40_fifo_dma_engine_init()
112 nvkm_done(imem->ramfc); in nv40_fifo_dma_engine_init()
222 chan->ramfc = chan->base.chid * 128; in nv40_fifo_dma_new()
224 nvkm_kmap(imem->ramfc); in nv40_fifo_dma_new()
225 nvkm_wo32(imem->ramfc, chan->ramfc + 0x00, args->v0.offset); in nv40_fifo_dma_new()
226 nvkm_wo32(imem->ramfc, chan->ramfc + 0x04, args->v0.offset); in nv40_fifo_dma_new()
[all …]
Dgpfifonv50.c71 nvkm_kmap(chan->ramfc); in nv50_fifo_gpfifo_new()
72 nvkm_wo32(chan->ramfc, 0x3c, 0x403f6078); in nv50_fifo_gpfifo_new()
73 nvkm_wo32(chan->ramfc, 0x44, 0x01003fff); in nv50_fifo_gpfifo_new()
74 nvkm_wo32(chan->ramfc, 0x48, chan->base.push->node->offset >> 4); in nv50_fifo_gpfifo_new()
75 nvkm_wo32(chan->ramfc, 0x50, lower_32_bits(ioffset)); in nv50_fifo_gpfifo_new()
76 nvkm_wo32(chan->ramfc, 0x54, upper_32_bits(ioffset) | (ilength << 16)); in nv50_fifo_gpfifo_new()
77 nvkm_wo32(chan->ramfc, 0x60, 0x7fffffff); in nv50_fifo_gpfifo_new()
78 nvkm_wo32(chan->ramfc, 0x78, 0x00000000); in nv50_fifo_gpfifo_new()
79 nvkm_wo32(chan->ramfc, 0x7c, 0x30000001); in nv50_fifo_gpfifo_new()
80 nvkm_wo32(chan->ramfc, 0x80, ((chan->ramht->bits - 9) << 27) | in nv50_fifo_gpfifo_new()
[all …]
Ddmanv10.c74 chan->ramfc = chan->base.chid * 32; in nv10_fifo_dma_new()
76 nvkm_kmap(imem->ramfc); in nv10_fifo_dma_new()
77 nvkm_wo32(imem->ramfc, chan->ramfc + 0x00, args->v0.offset); in nv10_fifo_dma_new()
78 nvkm_wo32(imem->ramfc, chan->ramfc + 0x04, args->v0.offset); in nv10_fifo_dma_new()
79 nvkm_wo32(imem->ramfc, chan->ramfc + 0x0c, chan->base.push->addr >> 4); in nv10_fifo_dma_new()
80 nvkm_wo32(imem->ramfc, chan->ramfc + 0x14, in nv10_fifo_dma_new()
87 nvkm_done(imem->ramfc); in nv10_fifo_dma_new()
Ddmanv17.c75 chan->ramfc = chan->base.chid * 64; in nv17_fifo_dma_new()
77 nvkm_kmap(imem->ramfc); in nv17_fifo_dma_new()
78 nvkm_wo32(imem->ramfc, chan->ramfc + 0x00, args->v0.offset); in nv17_fifo_dma_new()
79 nvkm_wo32(imem->ramfc, chan->ramfc + 0x04, args->v0.offset); in nv17_fifo_dma_new()
80 nvkm_wo32(imem->ramfc, chan->ramfc + 0x0c, chan->base.push->addr >> 4); in nv17_fifo_dma_new()
81 nvkm_wo32(imem->ramfc, chan->ramfc + 0x14, in nv17_fifo_dma_new()
88 nvkm_done(imem->ramfc); in nv17_fifo_dma_new()
Ddmanv04.c79 struct nvkm_memory *fctx = device->imem->ramfc; in nv04_fifo_dma_fini()
83 u32 data = chan->ramfc; in nv04_fifo_dma_fini()
97 c = fifo->ramfc; in nv04_fifo_dma_fini()
108 c = fifo->ramfc; in nv04_fifo_dma_fini()
145 const struct nv04_fifo_ramfc *c = fifo->ramfc; in nv04_fifo_dma_dtor()
147 nvkm_kmap(imem->ramfc); in nv04_fifo_dma_dtor()
149 nvkm_wo32(imem->ramfc, chan->ramfc + c->ctxp, 0x00000000); in nv04_fifo_dma_dtor()
151 nvkm_done(imem->ramfc); in nv04_fifo_dma_dtor()
203 chan->ramfc = chan->base.chid * 32; in nv04_fifo_dma_new()
205 nvkm_kmap(imem->ramfc); in nv04_fifo_dma_new()
[all …]
Dnv17.c58 struct nvkm_memory *ramfc = imem->ramfc; in nv17_fifo_init() local
67 nvkm_wr32(device, NV03_PFIFO_RAMFC, nvkm_memory_addr(ramfc) >> 8 | in nv17_fifo_init()
Dnv40.c68 struct nvkm_memory *ramfc = imem->ramfc; in nv40_fifo_init() local
95 nvkm_memory_addr(ramfc)) >> 16) | in nv40_fifo_init()
Dnv04.c304 struct nvkm_memory *ramfc = imem->ramfc; in nv04_fifo_init() local
313 nvkm_wr32(device, NV03_PFIFO_RAMFC, nvkm_memory_addr(ramfc) >> 8); in nv04_fifo_init()
327 int index, int nr, const struct nv04_fifo_ramfc *ramfc, in nv04_fifo_new_() argument
335 fifo->ramfc = ramfc; in nv04_fifo_new_()
Dchannv50.c198 u64 addr = chan->ramfc->addr >> 12; in nv50_fifo_chan_init()
213 nvkm_gpuobj_del(&chan->ramfc); in nv50_fifo_chan_dtor()
253 &chan->ramfc); in nv50_fifo_chan_ctor()
Dnv04.h17 const struct nv04_fifo_ramfc *ramfc; member
Dchannv04.h11 u32 ramfc; member
Dchannv50.h12 struct nvkm_gpuobj *ramfc; member
Dchang84.c210 u64 addr = chan->ramfc->addr >> 8; in g84_fifo_chan_init()
279 &chan->ramfc); in g84_fifo_chan_ctor()
/Linux-v4.19/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dinstmem.h19 struct nvkm_memory *ramfc; member
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv04.c185 &imem->base.ramfc); in nv04_instmem_oneinit()
202 nvkm_memory_unref(&imem->base.ramfc); in nv04_instmem_dtor()
Dnv40.c207 &imem->base.ramfc); in nv40_instmem_oneinit()
218 nvkm_memory_unref(&imem->base.ramfc); in nv40_instmem_dtor()