Searched refs:nvkm_memory_size (Results 1 – 25 of 27) sorted by relevance
12
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
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() 108 zero, nvkm_memory_addr(memory), nvkm_memory_size(memory)); in nvkm_instobj_new()
|
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()
|
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
D | umem.c | 104 *length = nvkm_memory_size(umem->memory); in nvkm_umem_map() 190 args->v0.size = nvkm_memory_size(umem->memory); in nvkm_umem_new()
|
D | nv44.c | 47 nvkm_wr32(device, 0x100804, (nvkm_memory_size(pt) / 4) * 4096); in nv44_mmu_init()
|
D | memnv04.c | 45 *psize = nvkm_memory_size(memory); in nv04_mem_map()
|
D | memgf100.c | 55 nvkm_memory_size(memory), pvma); in gf100_mem_map()
|
D | memnv50.c | 44 u64 size = nvkm_memory_size(memory); in nv50_mem_map()
|
D | vmmnv50.c | 114 switch (nvkm_memory_size(pt->memory)) { in nv50_vmm_pde() 294 u32 tags = (nvkm_memory_size(memory) >> 16) * comp; in nv50_vmm_valid()
|
D | base.c | 90 slot = nvkm_memory_size(ptp->pt->memory) >> ptp->shift; in nvkm_mmu_ptp_get()
|
D | vmmgf100.c | 285 u32 tags = ALIGN(nvkm_memory_size(memory), 1 << 17) >> comp; in gf100_vmm_valid()
|
D | vmmgp100.c | 444 u64 tags = nvkm_memory_size(memory) >> 16; in gp100_vmm_valid()
|
D | vmm.c | 1430 if (unlikely(nvkm_memory_size(map->memory) < map->offset + vma->size)) { in nvkm_vmm_map_locked() 1432 nvkm_memory_size(map->memory), in nvkm_vmm_map_locked()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | gm200.c | 55 min(nvkm_memory_size(fb->base.mmu_rd) >> 16, (u64)2) << 17); in gm200_fb_init()
|
D | gp100.c | 59 min(nvkm_memory_size(fb->base.mmu_rd) >> 16, (u64)2) << 17); in gp100_fb_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/ |
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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
D | gp102.c | 126 acr->wpr_start = acr->shadow_start + (nvkm_memory_size(acr->wpr) >> 1); in gp102_acr_wpr_alloc() 127 acr->wpr_end = acr->wpr_start + (nvkm_memory_size(acr->wpr) >> 1); in gp102_acr_wpr_alloc()
|
D | gm20b.c | 74 desc->ucode_blob_size = nvkm_memory_size(acr->wpr); in gm20b_acr_load_load()
|
D | gm200.c | 176 acr->wpr_end = acr->wpr_start + nvkm_memory_size(acr->wpr); in gm200_acr_wpr_alloc() 348 ret = nvkm_vmm_get(acr->vmm, 12, nvkm_memory_size(hsf->ucode), in gm200_acr_hsfw_load()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
D | user.c | 38 *size = nvkm_memory_size(buffer->mem); in nvkm_ufault_map()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dmacnv50.c | 54 if (nvkm_memory_size(chan->memory) < 0x1000) in nv50_disp_dmac_new_()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | memory.h | 62 #define nvkm_memory_size(p) (p)->func->size(p) macro
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/ |
D | xtensa.c | 138 size = nvkm_memory_size(xtensa->gpu_fw); in nvkm_xtensa_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | ctxgf100.c | 1498 ret = nvkm_vmm_get(vmm, 0, nvkm_memory_size(data), &ctx); in gf100_grctx_generate()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gf100.c | 605 ret = nvkm_vmm_get(bar, 12, nvkm_memory_size(fifo->user.mem), in gf100_fifo_oneinit()
|
12