Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h, line 571 (as a function)
- drivers/gpu/drm/amd/amdkfd/kfd_device.c, line 1683 (as a function)
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c amdgpu_amdkfd_compute_active() -> kgd2kfd_compute_active()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | node_id | 0-7 |
| DATA_SOURCE | 1 | node_id | $1 |
| FUZZY_MAX | 1 | node_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | node_id | unit_array_size |
| LOCK2 | &adev->enforce_isolation_mutex | ||
| HALF_LOCKED2 | &adev->gfx.gpu_clock_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &adev->srbm_mutex | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | &mux->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | ring_lock | ||
| TYPE_LOCK | (struct amdgpu_device)->enforce_isolation_mutex |