Home
last modified time | relevance | path

Searched refs:req_nps_mode (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gmc.c1375 int req_nps_mode, in amdgpu_gmc_need_nps_switch_req() argument
1378 return (((BIT(req_nps_mode) & adev->gmc.supported_nps_modes) == in amdgpu_gmc_need_nps_switch_req()
1379 BIT(req_nps_mode)) && in amdgpu_gmc_need_nps_switch_req()
1380 req_nps_mode != cur_nps_mode); in amdgpu_gmc_need_nps_switch_req()
1385 int req_nps_mode, cur_nps_mode, r; in amdgpu_gmc_prepare_nps_mode_change() local
1395 req_nps_mode = atomic_read(&hive->requested_nps_mode); in amdgpu_gmc_prepare_nps_mode_change()
1396 if (!amdgpu_gmc_need_nps_switch_req(adev, req_nps_mode, in amdgpu_gmc_prepare_nps_mode_change()
1401 r = amdgpu_xgmi_request_nps_change(adev, hive, req_nps_mode); in amdgpu_gmc_prepare_nps_mode_change()
1406 req_nps_mode = adev->gmc.requested_nps_mode; in amdgpu_gmc_prepare_nps_mode_change()
1407 if (!amdgpu_gmc_need_nps_switch_req(adev, req_nps_mode, cur_nps_mode)) in amdgpu_gmc_prepare_nps_mode_change()
[all …]
H A Damdgpu_xgmi.h125 int req_nps_mode);
H A Damdgpu_xgmi.c1688 int req_nps_mode) in amdgpu_xgmi_request_nps_change() argument
1708 tmp_adev, req_nps_mode); in amdgpu_xgmi_request_nps_change()