Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
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()
108 zero, nvkm_memory_addr(memory), nvkm_memory_size(memory)); in nvkm_instobj_new()
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()
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.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
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()
Dnv44.c47 nvkm_wr32(device, 0x100804, (nvkm_memory_size(pt) / 4) * 4096); in nv44_mmu_init()
Dmemnv04.c45 *psize = nvkm_memory_size(memory); in nv04_mem_map()
Dmemgf100.c55 nvkm_memory_size(memory), pvma); in gf100_mem_map()
Dmemnv50.c44 u64 size = nvkm_memory_size(memory); in nv50_mem_map()
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()
Dbase.c90 slot = nvkm_memory_size(ptp->pt->memory) >> ptp->shift; in nvkm_mmu_ptp_get()
Dvmmgf100.c284 u32 tags = ALIGN(nvkm_memory_size(memory), 1 << 17) >> comp; in gf100_vmm_valid()
Dvmmgp100.c450 u64 tags = nvkm_memory_size(memory) >> 16; in gp100_vmm_valid()
Dvmm.c1427 if (unlikely(nvkm_memory_size(map->memory) < map->offset + vma->size)) { in nvkm_vmm_map_locked()
1429 nvkm_memory_size(map->memory), in nvkm_vmm_map_locked()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dgm200.c55 min(nvkm_memory_size(fb->base.mmu_rd) >> 16, (u64)2) << 17); in gm200_fb_init()
Dgp100.c59 min(nvkm_memory_size(fb->base.mmu_rd) >> 16, (u64)2) << 17); in gp100_fb_init()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dgp102.c126 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()
Dgm20b.c74 desc->ucode_blob_size = nvkm_memory_size(acr->wpr); in gm20b_acr_load_load()
Dgm200.c176 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()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/core/
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.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
Duser.c38 *size = nvkm_memory_size(buffer->mem); in nvkm_ufault_map()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/
Dxtensa.c138 size = nvkm_memory_size(xtensa->gpu_fw); in nvkm_xtensa_init()
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/core/
Dmemory.h62 #define nvkm_memory_size(p) (p)->func->size(p) macro
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgf100.c605 ret = nvkm_vmm_get(bar, 12, nvkm_memory_size(fifo->user.mem), in gf100_fifo_oneinit()
Dgk104.c1018 ret = nvkm_vmm_get(bar, 12, nvkm_memory_size(fifo->user.mem), in gk104_fifo_oneinit()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxgf100.c1498 ret = nvkm_vmm_get(vmm, 0, nvkm_memory_size(data), &ctx); in gf100_grctx_generate()

12