Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c, line 395
- drivers/gpu/drm/amd/amdgpu/soc_v1_0.c, line 706
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c aqua_vanjaram_switch_partition_mode() -> amdgpu_amdkfd_check_and_lock_kfd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &xcp_mgr->xcp_lock | ||
| TYPE_LOCK | (struct amdgpu_xcp_mgr)->xcp_lock |
drivers/gpu/drm/amd/amdgpu/soc_v1_0.c soc_v1_0_switch_partition_mode() -> amdgpu_amdkfd_check_and_lock_kfd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &xcp_mgr->xcp_lock | ||
| TYPE_LOCK | (struct amdgpu_xcp_mgr)->xcp_lock |