Documented in 1 files:
Defined in 2 files as a function:
- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c, line 485 (as a function)
- drivers/gpu/drm/scheduler/sched_internal.h, line 72 (as a function)
Referenced in 2 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c, line 505
- drivers/gpu/drm/scheduler/sched_entity.c, line 293
Smatch caller information:
drivers/gpu/drm/scheduler/sched_entity.c drm_sched_entity_kill() -> drm_sched_entity_queue_pop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| BUF_SIZE | 0 | entity | (-1),352 |
| BUF_SIZE | 0 | entity | (-1),352 |
| DATA_SOURCE | 0 | entity | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | entity->num_sched_list |
drivers/gpu/drm/scheduler/sched_entity.c drm_sched_entity_kill() -> drm_sched_entity_queue_pop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| BUF_SIZE | 0 | entity | (-1),352 |
| BUF_SIZE | 0 | entity | (-1),352 |
| DATA_SOURCE | 0 | entity | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | entity->num_sched_list |
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_stop_all_jobs_on_sched() -> drm_sched_entity_queue_pop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| LOCK2 | &rq->lock | ||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct drm_sched_rq)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_stop_all_jobs_on_sched() -> drm_sched_entity_queue_pop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entity | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| LOCK2 | &rq->lock | ||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct drm_sched_rq)->lock |