/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
A D | base.c | 35 const u64 size = nvkm_memory_size(memory); in nvkm_instobj_load() 55 const u64 size = nvkm_memory_size(memory); in nvkm_instobj_save() 120 zero, nvkm_memory_addr(memory), nvkm_memory_size(memory)); in nvkm_instobj_new()
|
A D | nv50.c | 128 u64 size = nvkm_memory_size(memory); in nv50_instobj_kmap() 146 nvkm_memory_size(&eobj->base.memory), in nv50_instobj_kmap() 282 return nvkm_memory_size(nv50_instobj(memory)->ram); in nv50_instobj_size()
|
A D | gk20a.c | 151 imem->vaddr_use -= nvkm_memory_size(&obj->base.memory); in gk20a_instobj_iommu_recycle_vaddr() 191 const u64 size = nvkm_memory_size(memory); in gk20a_instobj_acquire_iommu()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
A D | umem.c | 103 *length = nvkm_memory_size(umem->memory); in nvkm_umem_map() 188 args->v0.size = nvkm_memory_size(umem->memory); in nvkm_umem_new()
|
A D | nv44.c | 47 nvkm_wr32(device, 0x100804, (nvkm_memory_size(pt) / 4) * 4096); in nv44_mmu_init()
|
A D | memnv04.c | 45 *psize = nvkm_memory_size(memory); in nv04_mem_map()
|
A D | memgf100.c | 55 nvkm_memory_size(memory), pvma); in gf100_mem_map()
|
A D | memnv50.c | 44 u64 size = nvkm_memory_size(memory); in nv50_mem_map()
|
A D | vmmnv50.c | 114 switch (nvkm_memory_size(pt->memory)) { in nv50_vmm_pde() 293 u32 tags = (nvkm_memory_size(memory) >> 16) * comp; in nv50_vmm_valid()
|
A D | vmmgf100.c | 284 u32 tags = ALIGN(nvkm_memory_size(memory), 1 << 17) >> comp; in gf100_vmm_valid()
|
A D | base.c | 90 slot = nvkm_memory_size(ptp->pt->memory) >> ptp->shift; in nvkm_mmu_ptp_get()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
A D | gm200.c | 52 min(nvkm_memory_size(fb->base.mmu_rd) >> 16, (u64)2) << 17); in gm200_fb_init()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/core/ |
A D | gpuobj.c | 208 gpuobj->size = nvkm_memory_size(gpuobj->memory); in nvkm_gpuobj_ctor() 256 (*pgpuobj)->size = nvkm_memory_size(memory); in nvkm_gpuobj_wrap()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
A D | gp102.c | 128 acr->wpr_start = acr->shadow_start + (nvkm_memory_size(acr->wpr) >> 1); in gp102_acr_wpr_alloc() 129 acr->wpr_end = acr->wpr_start + (nvkm_memory_size(acr->wpr) >> 1); in gp102_acr_wpr_alloc()
|
A D | gm20b.c | 76 desc->ucode_blob_size = nvkm_memory_size(acr->wpr); in gm20b_acr_load_setup()
|
A D | gm200.c | 178 acr->wpr_end = acr->wpr_start + nvkm_memory_size(acr->wpr); in gm200_acr_wpr_alloc()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
A D | user.c | 54 *size = nvkm_memory_size(buffer->mem); in nvkm_ufault_map()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/ |
A D | xtensa.c | 138 size = nvkm_memory_size(xtensa->gpu_fw); in nvkm_xtensa_init()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/core/ |
A D | memory.h | 63 #define nvkm_memory_size(p) (p)->func->size(p) macro
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
A D | base.c | 303 ret = nvkm_vmm_get(bar1, 12, nvkm_memory_size(fifo->userd.mem), &fifo->userd.bar1); in nvkm_fifo_oneinit()
|
A D | nv50.c | 268 if (runl->offset + segment >= nvkm_memory_size(runl->mem)) { in nv50_runl_alloc()
|
A D | chan.c | 452 if (ouserd + chan->func->userd->size >= nvkm_memory_size(userd)) { in nvkm_chan_new_()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/falcon/ |
A D | fw.c | 131 ret = nvkm_vmm_get(fw->vmm, 12, nvkm_memory_size(&fw->fw.mem.memory), &fw->vma); in nvkm_falcon_fw_oneinit()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
A D | gf100.c | 395 ret = nvkm_vmm_get(chan->vmm, 12, nvkm_memory_size(gr->pagepool), &chan->pagepool); in gf100_gr_chan_new() 404 ret = nvkm_vmm_get(chan->vmm, 12, nvkm_memory_size(gr->bundle_cb), &chan->bundle_cb); in gf100_gr_chan_new() 413 ret = nvkm_vmm_get(chan->vmm, 12, nvkm_memory_size(gr->attrib_cb), &chan->attrib_cb); in gf100_gr_chan_new() 430 ret = nvkm_vmm_get(chan->vmm, 12, nvkm_memory_size(gr->unknown), &chan->unknown); in gf100_gr_chan_new()
|
A D | ctxgf100.c | 1478 ret = nvkm_vmm_get(chan->vmm, 0, nvkm_memory_size(data), &ctx); in gf100_grctx_generate()
|