Home
last modified time | relevance | path

Searched refs:nvkm_memory_size (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
A Dbase.c35 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 Dnv50.c128 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 Dgk20a.c151 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 Dumem.c103 *length = nvkm_memory_size(umem->memory); in nvkm_umem_map()
188 args->v0.size = nvkm_memory_size(umem->memory); in nvkm_umem_new()
A Dnv44.c47 nvkm_wr32(device, 0x100804, (nvkm_memory_size(pt) / 4) * 4096); in nv44_mmu_init()
A Dmemnv04.c45 *psize = nvkm_memory_size(memory); in nv04_mem_map()
A Dmemgf100.c55 nvkm_memory_size(memory), pvma); in gf100_mem_map()
A Dmemnv50.c44 u64 size = nvkm_memory_size(memory); in nv50_mem_map()
A Dvmmnv50.c114 switch (nvkm_memory_size(pt->memory)) { in nv50_vmm_pde()
293 u32 tags = (nvkm_memory_size(memory) >> 16) * comp; in nv50_vmm_valid()
A Dvmmgf100.c284 u32 tags = ALIGN(nvkm_memory_size(memory), 1 << 17) >> comp; in gf100_vmm_valid()
A Dbase.c90 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 Dgm200.c52 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 Dgpuobj.c208 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 Dgp102.c128 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 Dgm20b.c76 desc->ucode_blob_size = nvkm_memory_size(acr->wpr); in gm20b_acr_load_setup()
A Dgm200.c178 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 Duser.c54 *size = nvkm_memory_size(buffer->mem); in nvkm_ufault_map()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/
A Dxtensa.c138 size = nvkm_memory_size(xtensa->gpu_fw); in nvkm_xtensa_init()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvkm/core/
A Dmemory.h63 #define nvkm_memory_size(p) (p)->func->size(p) macro
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
A Dbase.c303 ret = nvkm_vmm_get(bar1, 12, nvkm_memory_size(fifo->userd.mem), &fifo->userd.bar1); in nvkm_fifo_oneinit()
A Dnv50.c268 if (runl->offset + segment >= nvkm_memory_size(runl->mem)) { in nv50_runl_alloc()
A Dchan.c452 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 Dfw.c131 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 Dgf100.c395 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 Dctxgf100.c1478 ret = nvkm_vmm_get(chan->vmm, 0, nvkm_memory_size(data), &ctx); in gf100_grctx_generate()

Completed in 34 milliseconds

12