Searched refs:req_nps_mode (Results 1 – 1 of 1) sorted by relevance
1343 int req_nps_mode, in amdgpu_gmc_need_nps_switch_req() argument1346 return (((BIT(req_nps_mode) & adev->gmc.supported_nps_modes) == in amdgpu_gmc_need_nps_switch_req()1347 BIT(req_nps_mode)) && in amdgpu_gmc_need_nps_switch_req()1348 req_nps_mode != cur_nps_mode); in amdgpu_gmc_need_nps_switch_req()1353 int req_nps_mode, cur_nps_mode, r; in amdgpu_gmc_prepare_nps_mode_change() local1363 req_nps_mode = atomic_read(&hive->requested_nps_mode); in amdgpu_gmc_prepare_nps_mode_change()1364 if (!amdgpu_gmc_need_nps_switch_req(adev, req_nps_mode, in amdgpu_gmc_prepare_nps_mode_change()1369 r = amdgpu_xgmi_request_nps_change(adev, hive, req_nps_mode); in amdgpu_gmc_prepare_nps_mode_change()1374 req_nps_mode = adev->gmc.requested_nps_mode; in amdgpu_gmc_prepare_nps_mode_change()1375 if (!amdgpu_gmc_need_nps_switch_req(adev, req_nps_mode, cur_nps_mode)) in amdgpu_gmc_prepare_nps_mode_change()[all …]