Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager.c56 mqd_mem_obj->gtt_mem = dev->dqm->hiq_sdma_mqd.gtt_mem; in allocate_hiq_mqd()
80 mqd_mem_obj->gtt_mem = (void *)((uint64_t)dev->dqm->hiq_sdma_mqd.gtt_mem in allocate_sdma_mqd()
92 WARN_ON(!mqd_mem_obj->gtt_mem); in free_mqd_hiq_sdma()
Dkfd_mqd_manager_v9.c113 &(mqd_mem_obj->gtt_mem), in allocate_mqd()
294 if (mqd_mem_obj->gtt_mem) { in free_mqd()
295 amdgpu_amdkfd_free_gtt_mem(kfd->kgd, mqd_mem_obj->gtt_mem); in free_mqd()
Dkfd_device.c696 kfd->kgd, size, &kfd->gtt_mem, in kgd2kfd_device_init()
790 amdgpu_amdkfd_free_gtt_mem(kfd->kgd, kfd->gtt_mem); in kgd2kfd_device_init()
811 amdgpu_amdkfd_free_gtt_mem(kfd->kgd, kfd->gtt_mem); in kgd2kfd_device_exit()
Dkfd_priv.h213 void *gtt_mem; member
252 void *gtt_mem; member
Dkfd_device_queue_manager.c1838 &(mem_obj->gtt_mem), &(mem_obj->gpu_addr), in allocate_hiq_sdma_mqd()
1983 amdgpu_amdkfd_free_gtt_mem(dev->kgd, mqd->gtt_mem); in deallocate_hiq_sdma_mqd()
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dgtt.c60 offset = r->resource.start - dev_priv->gtt_mem->start; in psb_gtt_entry()
329 struct resource *r = dev_priv->gtt_mem; in psb_gtt_alloc_range()
352 ret = allocate_resource(dev_priv->gtt_mem, &gt->resource, in psb_gtt_alloc_range()
461 dev_priv->gtt_mem = &dev->pdev->resource[PSB_GATT_RESOURCE]; in psb_gtt_init()
479 dev_priv->gtt_mem = &fudge; in psb_gtt_init()
557 struct resource *r = dev_priv->gtt_mem->child; in psb_gtt_restore()
Dpsb_drv.h455 struct resource *gtt_mem; /* Our PCI resource */ member