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/gfx_v9_4_3.c gfx_v9_4_3_switch_compute_partition() -> psp_spatial_partition()

Type Parameter Key Value
PARAM_VALUE 0 psp 4096-ptr_max
PARAM_VALUE 0 psp->funcs 1-u64max
PARAM_VALUE 1 mode 0-16
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xcp_mgr->xcp_lock
TYPE_LOCK (struct amdgpu_xcp_mgr)->xcp_lock

drivers/gpu/drm/amd/amdgpu/imu_v12_1.c imu_v12_1_switch_compute_partition() -> psp_spatial_partition()

Type Parameter Key Value
PARAM_VALUE 0 psp 4096-ptr_max
PARAM_VALUE 0 psp->funcs 1-u64max
PARAM_VALUE 1 mode 0-4
DATA_SOURCE 1 mode $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &xcp_mgr->xcp_lock
TYPE_LOCK (struct amdgpu_xcp_mgr)->xcp_lock