Searched refs:hive (Results 1 – 2 of 2) sorted by relevance
2500 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_device_ip_init() local2502 if (WARN_ON(!hive)) { in amdgpu_device_ip_init()2507 if (!hive->reset_domain || in amdgpu_device_ip_init()2508 !amdgpu_reset_get_reset_domain(hive->reset_domain)) { in amdgpu_device_ip_init()2510 amdgpu_put_xgmi_hive(hive); in amdgpu_device_ip_init()2516 adev->reset_domain = hive->reset_domain; in amdgpu_device_ip_init()2517 amdgpu_put_xgmi_hive(hive); in amdgpu_device_ip_init()3520 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_device_xgmi_reset_func() local3523 if (WARN_ON(!hive)) in amdgpu_device_xgmi_reset_func()3534 task_barrier_enter(&hive->tb); in amdgpu_device_xgmi_reset_func()[all …]
1294 struct amdgpu_hive_info *hive; in current_memory_partition_store() local1318 hive = amdgpu_get_xgmi_hive(adev); in current_memory_partition_store()1319 if (hive) { in current_memory_partition_store()1320 atomic_set(&hive->requested_nps_mode, mode); in current_memory_partition_store()1321 amdgpu_put_xgmi_hive(hive); in current_memory_partition_store()1495 struct amdgpu_hive_info *hive; in amdgpu_gmc_prepare_nps_mode_change() local1502 hive = amdgpu_get_xgmi_hive(adev); in amdgpu_gmc_prepare_nps_mode_change()1503 if (hive) { in amdgpu_gmc_prepare_nps_mode_change()1504 req_nps_mode = atomic_read(&hive->requested_nps_mode); in amdgpu_gmc_prepare_nps_mode_change()1507 amdgpu_put_xgmi_hive(hive); in amdgpu_gmc_prepare_nps_mode_change()[all …]