Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c amdgpu_ptl_perf_monitor_ctrl() -> psp_ptl_invoke()

Type Parameter Key Value
PARAM_VALUE 0 psp 4096-ptr_max
PARAM_VALUE 1 req_code 2684354560-2684354561
PARAM_VALUE 2 ptl_state 1831052426292486144,4548590794279718912,6003704077751500800,6380844630325690368,7046663833131339776,8267162029257867264
PARAM_VALUE 2 *ptl_state 0-1
PARAM_VALUE 3 fmt1 1967147230242656256
PARAM_VALUE 4 fmt2 4560114353413500928
BUF_SIZE 0 psp 4848
DATA_SOURCE 1 req_code $1
DATA_SOURCE 2 ptl_state $2
HARD_MAX 1 req_code 2684354561
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &ptl->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c amdgpu_ptl_perf_monitor_ctrl() -> psp_ptl_invoke()

Type Parameter Key Value
PARAM_VALUE 0 psp 4096-ptr_max
PARAM_VALUE 0 psp->adev 4096-ptr_max
PARAM_VALUE 0 psp->sos.fw_version 3541018-u32max
PARAM_VALUE 1 req_code 2684354561
PARAM_VALUE 2 ptl_state 1831052426292486144,6003704077751500800,6380844630325690368,7046663833131339776
PARAM_VALUE 2 *ptl_state 0-1
PARAM_VALUE 3 fmt1 1967147230242656256
PARAM_VALUE 3 *fmt1 0-6
PARAM_VALUE 4 fmt2 4560114353413500928
PARAM_VALUE 4 *fmt2 0-6
BUF_SIZE 0 psp 4848
CAPPED_DATA 2 *ptl_state 1
DATA_SOURCE 1 req_code $1
DATA_SOURCE 2 ptl_state $2
FUZZY_MAX 0 psp->sos.fw_version 3541018
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &ptl->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c amdgpu_ptl_perf_monitor_ctrl() -> psp_ptl_invoke()

Type Parameter Key Value
PARAM_VALUE 0 psp 4096-ptr_max
PARAM_VALUE 0 psp->adev 4096-ptr_max
PARAM_VALUE 0 psp->sos.fw_version 3541018-u32max
PARAM_VALUE 1 req_code 2684354560
PARAM_VALUE 2 ptl_state 4548590794279718912,8267162029257867264
PARAM_VALUE 2 *ptl_state 0-1
PARAM_VALUE 3 fmt1 1967147230242656256
PARAM_VALUE 3 *fmt1 0-6
PARAM_VALUE 4 fmt2 4560114353413500928
PARAM_VALUE 4 *fmt2 0-6
BUF_SIZE 0 psp 4848
CAPPED_DATA 2 *ptl_state 1
DATA_SOURCE 1 req_code $1
DATA_SOURCE 2 ptl_state $2
FUZZY_MAX 0 psp->sos.fw_version 3541018
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex