Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c amdgpu_xgmi_request_nps_change() -> (struct amdgpu_gmc_funcs)->request_mem_partition_mode()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->type 0-1
CAPPED_DATA 0 &adev->gmc.xgmi.head 1
DATA_SOURCE 1 nps_mode $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hive->hive_lock
TYPE_LOCK (struct amdgpu_hive_info)->hive_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c amdgpu_xgmi_request_nps_change() -> (struct amdgpu_gmc_funcs)->request_mem_partition_mode()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->reset_domain->sem.first_waiter->type 0-1
CAPPED_DATA 0 &adev->gmc.xgmi.head 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &hive->hive_lock
TYPE_LOCK (struct amdgpu_hive_info)->hive_lock

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_prepare_nps_mode_change() -> (struct amdgpu_gmc_funcs)->request_mem_partition_mode()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gmc.gmc_funcs 4096-ptr_max
PARAM_VALUE 0 adev->gmc.gmc_funcs->request_mem_partition_mode 5713726759188172800
PARAM_VALUE 0 adev->gmc.supported_nps_modes 1-u32max
PARAM_VALUE 0 adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 adev->xcp_mgr 0,4096-ptr_max
DATA_SOURCE 0 adev $0
CONTAINER 0 -88-8552-5928+0 $(-1)
CONTAINER 1 *(-88-8552+8560) $(-1)
BIT_INFO 0 adev->virt.caps 0x0,0xfffffffb
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex