Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_sys_get_gpu_metrics() -> (struct pptable_funcs)->get_gpu_metrics()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 0 smu->adev 4096-ptr_max
PARAM_VALUE 0 smu->adev->pm.dpm_enabled 1
PARAM_VALUE 0 smu->pm_enabled 1
PARAM_VALUE 0 smu->ppt_funcs 4096-ptr_max
PARAM_VALUE 0 smu->ppt_funcs->get_gpu_metrics 4096-ptr_max
PARAM_VALUE 1 table 5892083435351461888
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
DATA_SOURCE 1 table $1
CONTAINER 0 -760-32+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
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