Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_mqd_manager.c57 mqd_mem_obj->gtt_mem = dev->dqm->hiq_sdma_mqd.gtt_mem; in allocate_hiq_mqd()
82 mqd_mem_obj->gtt_mem = (void *)((uint64_t)dev->dqm->hiq_sdma_mqd.gtt_mem in allocate_sdma_mqd()
94 WARN_ON(!mqd_mem_obj->gtt_mem); in free_mqd_hiq_sdma()
227 if (mqd_mem_obj->gtt_mem) { in kfd_free_mqd_cp()
228 amdgpu_amdkfd_free_gtt_mem(mm->dev->adev, &mqd_mem_obj->gtt_mem); in kfd_free_mqd_cp()
283 mqd_mem_obj->gtt_mem = (virtual_xcc_id == 0) ? in kfd_get_hiq_xcc_mqd()
284 dev->dqm->hiq_sdma_mqd.gtt_mem : NULL; in kfd_get_hiq_xcc_mqd()
H A Dkfd_mqd_manager_v9.c141 &(mqd_mem_obj->gtt_mem), in allocate_mqd()
641 xcc_mqd_mem_obj->gtt_mem = (offset == 0) ? in get_xcc_mqd()
642 mqd_mem_obj->gtt_mem : NULL; in get_xcc_mqd()
H A Dkfd_device.c779 kfd->adev, size, &kfd->gtt_mem, in kgd2kfd_device_init()
911 amdgpu_amdkfd_free_gtt_mem(kfd->adev, &kfd->gtt_mem); in kgd2kfd_device_init()
929 amdgpu_amdkfd_free_gtt_mem(kfd->adev, &kfd->gtt_mem); in kgd2kfd_device_exit()
H A Dkfd_priv.h247 void *gtt_mem; member
333 void *gtt_mem; member
H A Dkfd_device_queue_manager.c2784 &(mem_obj->gtt_mem), &(mem_obj->gpu_addr), in allocate_hiq_sdma_mqd()
2923 amdgpu_amdkfd_free_gtt_mem(dev->adev, &mqd->gtt_mem); in deallocate_hiq_sdma_mqd()
/linux/drivers/gpu/drm/gma500/
H A 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()
H A Dgem.c382 struct resource *r = pdev->gtt_mem->child; in psb_gem_mm_populate_resources()
H A Dpsb_drv.h399 struct resource *gtt_mem; /* Our PCI resource */ member