Searched refs:req_nps_mode (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_gmc.c | 1471 int req_nps_mode, in amdgpu_gmc_need_nps_switch_req() argument 1474 return (((BIT(req_nps_mode) & adev->gmc.supported_nps_modes) == in amdgpu_gmc_need_nps_switch_req() 1475 BIT(req_nps_mode)) && in amdgpu_gmc_need_nps_switch_req() 1476 req_nps_mode != cur_nps_mode); in amdgpu_gmc_need_nps_switch_req() 1481 int req_nps_mode, cur_nps_mode, r; in amdgpu_gmc_prepare_nps_mode_change() local 1491 req_nps_mode = atomic_read(&hive->requested_nps_mode); in amdgpu_gmc_prepare_nps_mode_change() 1492 if (!amdgpu_gmc_need_nps_switch_req(adev, req_nps_mode, in amdgpu_gmc_prepare_nps_mode_change() 1497 r = amdgpu_xgmi_request_nps_change(adev, hive, req_nps_mode); in amdgpu_gmc_prepare_nps_mode_change() 1502 req_nps_mode = adev->gmc.requested_nps_mode; in amdgpu_gmc_prepare_nps_mode_change() 1503 if (!amdgpu_gmc_need_nps_switch_req(adev, req_nps_mode, cur_nps_mode)) in amdgpu_gmc_prepare_nps_mode_change() [all …]
|
| H A D | amdgpu_xgmi.h | 119 int req_nps_mode);
|
| H A D | amdgpu_xgmi.c | 1698 int req_nps_mode) in amdgpu_xgmi_request_nps_change() argument 1718 tmp_adev, req_nps_mode); in amdgpu_xgmi_request_nps_change()
|