Searched refs:req_nps_mode (Results 1 – 1 of 1) sorted by relevance
1484 int req_nps_mode, in amdgpu_gmc_need_nps_switch_req() argument1487 return (((BIT(req_nps_mode) & adev->gmc.supported_nps_modes) == in amdgpu_gmc_need_nps_switch_req()1488 BIT(req_nps_mode)) && in amdgpu_gmc_need_nps_switch_req()1489 req_nps_mode != cur_nps_mode); in amdgpu_gmc_need_nps_switch_req()1494 int req_nps_mode, cur_nps_mode, r; in amdgpu_gmc_prepare_nps_mode_change() local1504 req_nps_mode = atomic_read(&hive->requested_nps_mode); in amdgpu_gmc_prepare_nps_mode_change()1505 if (!amdgpu_gmc_need_nps_switch_req(adev, req_nps_mode, in amdgpu_gmc_prepare_nps_mode_change()1510 r = amdgpu_xgmi_request_nps_change(adev, hive, req_nps_mode); in amdgpu_gmc_prepare_nps_mode_change()1515 req_nps_mode = adev->gmc.requested_nps_mode; in amdgpu_gmc_prepare_nps_mode_change()1516 if (!amdgpu_gmc_need_nps_switch_req(adev, req_nps_mode, cur_nps_mode)) in amdgpu_gmc_prepare_nps_mode_change()[all …]