Home
last modified time | relevance | path

Searched refs:hive_id (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_xgmi.c77 return snprintf(buf, PAGE_SIZE, "%llu\n", hive->hive_id); in amdgpu_xgmi_show_hive_id()
231 if (!adev->gmc.xgmi.hive_id) in amdgpu_get_xgmi_hive()
238 if (tmp->hive_id == adev->gmc.xgmi.hive_id) { in amdgpu_get_xgmi_hive()
259 tmp->hive_id = adev->gmc.xgmi.hive_id; in amdgpu_get_xgmi_hive()
291 adev->gmc.xgmi.hive_id, ret); in amdgpu_xgmi_set_pstate()
308 adev->gmc.xgmi.hive_id, ret); in amdgpu_xgmi_update_topology()
339 ret = psp_xgmi_get_hive_id(&adev->psp, &adev->gmc.xgmi.hive_id); in amdgpu_xgmi_add_device()
353 adev->gmc.xgmi.hive_id = 16; in amdgpu_xgmi_add_device()
362 adev->gmc.xgmi.node_id, adev->gmc.xgmi.hive_id); in amdgpu_xgmi_add_device()
396 tmp_adev->gmc.xgmi.hive_id, ret); in amdgpu_xgmi_add_device()
[all …]
Damdgpu_xgmi.h28 uint64_t hive_id; member
50 adev->gmc.xgmi.hive_id && in amdgpu_xgmi_same_hive()
51 adev->gmc.xgmi.hive_id == bo_adev->gmc.xgmi.hive_id); in amdgpu_xgmi_same_hive()
Damdgpu_psp.h101 int (*xgmi_get_hive_id)(struct psp_context *psp, uint64_t *hive_id);
244 #define psp_xgmi_get_hive_id(psp, hive_id) \ argument
245 ((psp)->funcs->xgmi_get_hive_id ? (psp)->funcs->xgmi_get_hive_id((psp), (hive_id)) : -EINVAL)
Dta_xgmi_if.h87 uint64_t hive_id; member
Damdgpu_gmc.h113 u64 hive_id; member
Dpsp_v11_0.c799 static int psp_v11_0_xgmi_get_hive_id(struct psp_context *psp, uint64_t *hive_id) in psp_v11_0_xgmi_get_hive_id() argument
814 *hive_id = xgmi_cmd->xgmi_out_message.get_hive_id.hive_id; in psp_v11_0_xgmi_get_hive_id()
Damdgpu_ib.c353 } else if (adev->gmc.xgmi.hive_id) { in amdgpu_ib_ring_tests()
Damdgpu_amdkfd.c569 return adev->gmc.xgmi.hive_id; in amdgpu_amdkfd_get_hive_id()
Damdgpu_device.c3804 job ? job->base.id : -1, hive->hive_id); in amdgpu_device_gpu_recover()
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_topology.h56 uint64_t hive_id; member
Dkfd_crat.c1294 if (kdev->hive_id) { in kfd_create_vcrat_image_gpu()
1299 if (peer_dev->gpu->hive_id != kdev->hive_id) in kfd_create_vcrat_image_gpu()
Dkfd_topology.c472 dev->node_props.hive_id); in node_show()
1286 dev->node_props.hive_id = gpu->hive_id; in kfd_topology_add_device()
Dkfd_priv.h296 uint64_t hive_id; member
Dkfd_device.c670 kfd->hive_id = kfd->kfd2kgd->get_hive_id(kfd->kgd); in kgd2kfd_device_init()