Home
last modified time | relevance | path

Searched refs:gtt_mem (Results 1 – 13 of 13) sorted by relevance

/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager.c57 mqd_mem_obj->gtt_mem = dev->dqm->hiq_sdma_mqd.gtt_mem; in allocate_hiq_mqd()
81 mqd_mem_obj->gtt_mem = (void *)((uint64_t)dev->dqm->hiq_sdma_mqd.gtt_mem in allocate_sdma_mqd()
93 WARN_ON(!mqd_mem_obj->gtt_mem); in free_mqd_hiq_sdma()
206 if (mqd_mem_obj->gtt_mem) { in kfd_free_mqd_cp()
207 amdgpu_amdkfd_free_gtt_mem(mm->dev->adev, mqd_mem_obj->gtt_mem); in kfd_free_mqd_cp()
Dkfd_device.c581 kfd->adev, size, &kfd->gtt_mem, in kgd2kfd_device_init()
676 amdgpu_amdkfd_free_gtt_mem(kfd->adev, kfd->gtt_mem); in kgd2kfd_device_init()
696 amdgpu_amdkfd_free_gtt_mem(kfd->adev, kfd->gtt_mem); in kgd2kfd_device_exit()
Dkfd_priv.h244 void *gtt_mem; member
284 void *gtt_mem; member
Dkfd_mqd_manager_v9.c115 &(mqd_mem_obj->gtt_mem), in allocate_mqd()
Dkfd_device_queue_manager.c2253 &(mem_obj->gtt_mem), &(mem_obj->gpu_addr), in allocate_hiq_sdma_mqd()
2394 amdgpu_amdkfd_free_gtt_mem(dev->adev, mqd->gtt_mem); in deallocate_hiq_sdma_mqd()
/drivers/gpu/drm/gma500/
Dgtt.c22 struct resource *root = pdev->gtt_mem; in psb_gtt_allocate_resource()
72 unsigned long offset = res->start - pdev->gtt_mem->start; in psb_gtt_entry()
192 struct resource *gtt_mem; in psb_gtt_init_ranges() local
241 gtt_mem = &fudge; in psb_gtt_init_ranges()
243 gtt_mem = &pdev->resource[PSB_GATT_RESOURCE]; in psb_gtt_init_ranges()
252 dev_priv->gtt_mem = gtt_mem; in psb_gtt_init_ranges()
Dgem.c382 struct resource *r = pdev->gtt_mem->child; in psb_gem_mm_populate_resources()
Dpsb_drv.h410 struct resource *gtt_mem; /* Our PCI resource */ member
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fdinfo.c63 uint64_t vram_mem = 0, gtt_mem = 0, cpu_mem = 0; in amdgpu_show_fdinfo() local
78 amdgpu_vm_get_memory(vm, &vram_mem, &gtt_mem, &cpu_mem); in amdgpu_show_fdinfo()
94 seq_printf(m, "drm-memory-gtt: \t%llu KiB\n", gtt_mem/1024UL); in amdgpu_show_fdinfo()
Damdgpu_vm.c913 uint64_t *gtt_mem, uint64_t *cpu_mem) in amdgpu_vm_get_memory() argument
922 gtt_mem, cpu_mem); in amdgpu_vm_get_memory()
928 gtt_mem, cpu_mem); in amdgpu_vm_get_memory()
934 gtt_mem, cpu_mem); in amdgpu_vm_get_memory()
940 gtt_mem, cpu_mem); in amdgpu_vm_get_memory()
946 gtt_mem, cpu_mem); in amdgpu_vm_get_memory()
952 gtt_mem, cpu_mem); in amdgpu_vm_get_memory()
Damdgpu_object.h327 uint64_t *gtt_mem, uint64_t *cpu_mem);
Damdgpu_vm.h465 uint64_t *gtt_mem, uint64_t *cpu_mem);
Damdgpu_object.c1253 uint64_t *gtt_mem, uint64_t *cpu_mem) in amdgpu_bo_get_memory() argument
1263 *gtt_mem += amdgpu_bo_size(bo); in amdgpu_bo_get_memory()