Lines Matching refs:kgd
694 struct kfd_dev *kgd2kfd_probe(struct kgd_dev *kgd, in kgd2kfd_probe() argument
720 kfd->kgd = kgd; in kgd2kfd_probe()
788 ret = amdgpu_amdkfd_alloc_gws(kfd->kgd, in kfd_gws_init()
789 amdgpu_amdkfd_get_num_gws(kfd->kgd), &kfd->gws); in kfd_gws_init()
806 kfd->mec_fw_version = amdgpu_amdkfd_get_fw_version(kfd->kgd, in kgd2kfd_device_init()
808 kfd->mec2_fw_version = amdgpu_amdkfd_get_fw_version(kfd->kgd, in kgd2kfd_device_init()
810 kfd->sdma_fw_version = amdgpu_amdkfd_get_fw_version(kfd->kgd, in kgd2kfd_device_init()
823 kfd->pci_atomic_requested = amdgpu_amdkfd_have_atomics_support(kfd->kgd); in kgd2kfd_device_init()
865 kfd->kgd, size, &kfd->gtt_mem, in kgd2kfd_device_init()
886 kfd->hive_id = amdgpu_amdkfd_get_hive_id(kfd->kgd); in kgd2kfd_device_init()
888 kfd->noretry = amdgpu_amdkfd_get_noretry(kfd->kgd); in kgd2kfd_device_init()
906 amdgpu_amdkfd_get_num_gws(kfd->kgd)); in kgd2kfd_device_init()
921 svm_migrate_init((struct amdgpu_device *)kfd->kgd); in kgd2kfd_device_init()
959 amdgpu_amdkfd_free_gtt_mem(kfd->kgd, kfd->gtt_mem); in kgd2kfd_device_init()
962 amdgpu_amdkfd_free_gws(kfd->kgd, kfd->gws); in kgd2kfd_device_init()
979 amdgpu_amdkfd_free_gtt_mem(kfd->kgd, kfd->gtt_mem); in kgd2kfd_device_exit()
981 amdgpu_amdkfd_free_gws(kfd->kgd, kfd->gws); in kgd2kfd_device_exit()
1417 amdgpu_amdkfd_set_compute_idle(kfd->kgd, false); in kfd_inc_compute_active()
1425 amdgpu_amdkfd_set_compute_idle(kfd->kgd, true); in kfd_dec_compute_active()