Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
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.c88 nvkm_kmap(imem->ramfc); in nv40_fifo_dma_engine_fini()
89 nvkm_wo32(imem->ramfc, chan->ramfc + ctx, 0x00000000); in nv40_fifo_dma_engine_fini()
90 nvkm_done(imem->ramfc); in nv40_fifo_dma_engine_fini()
119 nvkm_kmap(imem->ramfc); in nv40_fifo_dma_engine_init()
120 nvkm_wo32(imem->ramfc, chan->ramfc + ctx, inst); in nv40_fifo_dma_engine_init()
121 nvkm_done(imem->ramfc); in nv40_fifo_dma_engine_init()
230 chan->ramfc = chan->base.chid * 128; in nv40_fifo_dma_new()
232 nvkm_kmap(imem->ramfc); in nv40_fifo_dma_new()
233 nvkm_wo32(imem->ramfc, chan->ramfc + 0x00, args->v0.offset); in nv40_fifo_dma_new()
234 nvkm_wo32(imem->ramfc, chan->ramfc + 0x04, args->v0.offset); in nv40_fifo_dma_new()
[all …]
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 …]
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()
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 …]
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()
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
96 nvkm_memory_addr(ramfc)) >> 16) | in nv40_fifo_init()
Dnv04.c338 struct nvkm_memory *ramfc = imem->ramfc; in nv04_fifo_init() local
347 nvkm_wr32(device, NV03_PFIFO_RAMFC, nvkm_memory_addr(ramfc) >> 8); in nv04_fifo_init()
361 enum nvkm_subdev_type type, int inst, int nr, const struct nv04_fifo_ramfc *ramfc, in nv04_fifo_new_() argument
369 fifo->ramfc = ramfc; in nv04_fifo_new_()
Dchannv50.c206 u64 addr = chan->ramfc->addr >> 12; in nv50_fifo_chan_init()
221 nvkm_gpuobj_del(&chan->ramfc); in nv50_fifo_chan_dtor()
261 &chan->ramfc); in nv50_fifo_chan_ctor()
Dnv04.h17 const struct nv04_fifo_ramfc *ramfc; member
Dchannv04.h11 u32 ramfc; member
Dchang84.c189 u64 addr = chan->ramfc->addr >> 8; in g84_fifo_chan_init()
258 &chan->ramfc); in g84_fifo_chan_ctor()
Dchannv50.h12 struct nvkm_gpuobj *ramfc; member
/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv04.c184 &imem->base.ramfc); in nv04_instmem_oneinit()
201 nvkm_memory_unref(&imem->base.ramfc); in nv04_instmem_dtor()
Dnv40.c206 &imem->base.ramfc); in nv40_instmem_oneinit()
217 nvkm_memory_unref(&imem->base.ramfc); in nv40_instmem_dtor()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dinstmem.h24 struct nvkm_memory *ramfc; member