Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c, line 132
- drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c, line 455
- drivers/gpu/drm/amd/amdgpu/soc_v1_0.c, line 767
- drivers/gpu/drm/amd/amdkfd/kfd_device.c, line 895
- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_12_ppt.c
- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
- drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_8_ppt.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_info_ioctl() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 4096-ptr_max |
| PARAM_VALUE | 1 | ip | 1 |
| PARAM_VALUE | 2 | inst_mask | 8665749062499995648 |
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_info_ioctl() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 4096-ptr_max |
| PARAM_VALUE | 1 | ip | 2 |
| PARAM_VALUE | 2 | inst_mask | 8665749062499995648 |
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_info_ioctl() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 4096-ptr_max |
| PARAM_VALUE | 1 | ip | 3 |
| PARAM_VALUE | 2 | inst_mask | 8665749062499995648 |
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_info_ioctl() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 4096-ptr_max |
| PARAM_VALUE | 1 | ip | 3 |
| PARAM_VALUE | 2 | inst_mask | 8665749062499995648 |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu15/smu_v15_0_8_ppt.c smu_v15_0_8_get_xcp_metrics() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ip | 3 |
| PARAM_VALUE | 2 | inst_mask | 1185021449087660032 |
| BUF_SIZE | 0 | xcp | (-1),128064 |
| BUF_SIZE | 0 | xcp | (-1),128064 |
| DATA_SOURCE | 0 | xcp | r amdgpu_get_next_xcp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu15/smu_v15_0_8_ppt.c smu_v15_0_8_get_xcp_metrics() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 4096-ptr_max |
| PARAM_VALUE | 1 | ip | 1 |
| PARAM_VALUE | 2 | inst_mask | 1185021449087660032 |
| BUF_SIZE | 0 | xcp | (-1),128064 |
| BUF_SIZE | 0 | xcp | (-1),128064 |
| DATA_SOURCE | 0 | xcp | r amdgpu_get_next_xcp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_12_ppt.c smu_v13_0_12_get_xcp_metrics() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ip | 3 |
| PARAM_VALUE | 2 | inst_mask | 7567284242750943232 |
| BUF_SIZE | 0 | xcp | (-1),128064 |
| BUF_SIZE | 0 | xcp | (-1),128064 |
| DATA_SOURCE | 0 | xcp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_12_ppt.c smu_v13_0_12_get_xcp_metrics() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 4096-ptr_max |
| PARAM_VALUE | 1 | ip | 1 |
| PARAM_VALUE | 2 | inst_mask | 7567284242750943232 |
| BUF_SIZE | 0 | xcp | (-1),128064 |
| BUF_SIZE | 0 | xcp | (-1),128064 |
| DATA_SOURCE | 0 | xcp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_6_ppt.c smu_v13_0_6_get_xcp_metrics() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ip | 3 |
| PARAM_VALUE | 2 | inst_mask | 6154212642643759104 |
| BUF_SIZE | 0 | xcp | (-1),128064 |
| BUF_SIZE | 0 | xcp | (-1),128064 |
| DATA_SOURCE | 0 | xcp | r amdgpu_get_next_xcp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_6_ppt.c smu_v13_0_6_get_xcp_metrics() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 4096-ptr_max |
| PARAM_VALUE | 1 | ip | 1 |
| PARAM_VALUE | 2 | inst_mask | 6154212642643759104 |
| BUF_SIZE | 0 | xcp | (-1),128064 |
| BUF_SIZE | 0 | xcp | (-1),128064 |
| DATA_SOURCE | 0 | xcp | r amdgpu_get_next_xcp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c aqua_vanjaram_get_xcp_mem_id() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 4096-ptr_max |
| PARAM_VALUE | 1 | ip | 1 |
| PARAM_VALUE | 2 | inst_mask | 1564046844710612992 |
| DATA_SOURCE | 0 | xcp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &xcp_mgr->xcp_lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device.c kgd2kfd_device_init() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 4096-ptr_max |
| PARAM_VALUE | 1 | ip | 1 |
| PARAM_VALUE | 2 | inst_mask | 4096-ptr_max |
| DATA_SOURCE | 0 | xcp | r amdgpu_get_next_xcp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &xcp_mgr->xcp_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c __amdgpu_xcp_set_unique_id() -> amdgpu_xcp_get_inst_details()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xcp | 4096-ptr_max |
| PARAM_VALUE | 1 | ip | 1 |
| PARAM_VALUE | 2 | inst_mask | 184921040603930624 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &xcp_mgr->xcp_lock |