Searched refs:hive (Results 1 – 2 of 2) sorted by relevance
2437 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_device_ip_init() local2439 if (WARN_ON(!hive)) { in amdgpu_device_ip_init()2444 if (!hive->reset_domain || in amdgpu_device_ip_init()2445 !amdgpu_reset_get_reset_domain(hive->reset_domain)) { in amdgpu_device_ip_init()2447 amdgpu_put_xgmi_hive(hive); in amdgpu_device_ip_init()2453 adev->reset_domain = hive->reset_domain; in amdgpu_device_ip_init()2454 amdgpu_put_xgmi_hive(hive); in amdgpu_device_ip_init()3459 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev); in amdgpu_device_xgmi_reset_func() local3462 if (WARN_ON(!hive)) in amdgpu_device_xgmi_reset_func()3473 task_barrier_enter(&hive->tb); in amdgpu_device_xgmi_reset_func()[all …]
1286 struct amdgpu_hive_info *hive; in current_memory_partition_store() local1310 hive = amdgpu_get_xgmi_hive(adev); in current_memory_partition_store()1311 if (hive) { in current_memory_partition_store()1312 atomic_set(&hive->requested_nps_mode, mode); in current_memory_partition_store()1313 amdgpu_put_xgmi_hive(hive); in current_memory_partition_store()1487 struct amdgpu_hive_info *hive; in amdgpu_gmc_prepare_nps_mode_change() local1494 hive = amdgpu_get_xgmi_hive(adev); in amdgpu_gmc_prepare_nps_mode_change()1495 if (hive) { in amdgpu_gmc_prepare_nps_mode_change()1496 req_nps_mode = atomic_read(&hive->requested_nps_mode); in amdgpu_gmc_prepare_nps_mode_change()1499 amdgpu_put_xgmi_hive(hive); in amdgpu_gmc_prepare_nps_mode_change()[all …]