Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 15 files:
- drivers/accel/amdxdna/aie2_ctx.c
- drivers/accel/ethosu/ethosu_job.c, line 295
- drivers/accel/rocket/rocket_job.c, line 371
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c, line 297
- drivers/gpu/drm/etnaviv/etnaviv_sched.c, line 77
- drivers/gpu/drm/imagination/pvr_queue.c
- drivers/gpu/drm/lima/lima_sched.c, line 447
- drivers/gpu/drm/msm/msm_gem_vma.c, line 922
- drivers/gpu/drm/nouveau/nouveau_sched.c, line 374
- drivers/gpu/drm/panfrost/panfrost_job.c, line 682
- drivers/gpu/drm/panthor/panthor_mmu.c, line 871
- drivers/gpu/drm/panthor/panthor_sched.c, line 2744
- drivers/gpu/drm/scheduler/sched_main.c, line 458
- drivers/gpu/drm/v3d/v3d_sched.c, line 696
- drivers/gpu/drm/xe/xe_gpu_scheduler.h, line 46
Smatch caller information:
drivers/gpu/drm/msm/msm_gem_vma.c msm_gem_vm_close() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/panthor/panthor_sched.c queue_stop() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bad | 0,4096-ptr_max |
| BUF_SIZE | 1 | bad | 0,272 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sched->reset.lock |
drivers/gpu/drm/xe/xe_guc_submit.c xe_sched_stop() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->credit_count.counter | 0 |
| PARAM_VALUE | 0 | sched->credit_limit | 55 |
| PARAM_VALUE | 0 | sched->hang_limit | 64 |
| PARAM_VALUE | 0 | sched->job_scheduled.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->job_scheduled.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ops | 5946580156054020096 |
| PARAM_VALUE | 0 | sched->pause_submit | 0 |
| PARAM_VALUE | 0 | sched->pending_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->pending_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ready | 1 |
| PARAM_VALUE | 0 | sched->score | 1-u64max |
| PARAM_VALUE | 0 | sched->submit_wq | 1-u64max |
| PARAM_VALUE | 0 | sched->timeout | 0-536870912,s64max |
| PARAM_VALUE | 1 | bad | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &guc->submission_state.lock | ||
| HALF_LOCKED2 | ¶m.hwe->gt->oa.gt_lock | ||
| HALF_LOCKED2 | &vm->lock | ||
| TYPE_LOCK | (struct xe_guc)->submission_state.lock |
drivers/accel/ethosu/ethosu_job.c ethosu_job_timedout() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad | 7272430455867777024 |
| PARAM_VALUE | 1 | bad->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->sched->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->submit_ts | 300726573918138368 |
| DATA_SOURCE | 1 | bad | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/accel/rocket/rocket_job.c rocket_reset() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad | 0,7821225535317262336 |
| PARAM_VALUE | 1 | bad->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->sched | 7197993670339731456 |
| PARAM_VALUE | 1 | bad->sched->ops | 4096-ptr_max |
| DATA_SOURCE | 1 | bad | $1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c suspend_resume_compute_scheduler() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ready | 1 |
| PARAM_VALUE | 1 | bad | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->grbm_idx_mutex | ||
| LOCK2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/nouveau/nouveau_sched.c nouveau_sched_timedout_job() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | bad | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->sched->ops | 4096-ptr_max |
| DATA_SOURCE | 1 | bad | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/v3d/v3d_sched.c v3d_gpu_reset_for_timeout() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bad | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->sched->ops | 4096-ptr_max |
| DATA_SOURCE | 1 | bad | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &v3d->reset_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct v3d_dev)->reset_lock |
drivers/gpu/drm/panfrost/panfrost_job.c panfrost_reset() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bad | 0,5876057434053267456 |
| PARAM_VALUE | 1 | bad->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->sched | 422062218835800064 |
| PARAM_VALUE | 1 | bad->sched->ops | 4096-ptr_max |
| DATA_SOURCE | 1 | bad | $1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/etnaviv/etnaviv_sched.c etnaviv_sched_timedout_job() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad | 3043435797947875328 |
| PARAM_VALUE | 1 | bad->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->sched->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->submit_ts | 8555998231119499264 |
| DATA_SOURCE | 1 | bad | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/accel/amdxdna/aie2_ctx.c aie2_hwctx_fini() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &xdna->client_lock | ||
| HALF_LOCKED2 | &xdna->dev_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/accel/amdxdna/aie2_ctx.c aie2_hwctx_stop() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad->sched->ops | 4096-ptr_max |
| DATA_SOURCE | 1 | bad | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &client->hwctx_srcu | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/lima/lima_sched.c lima_sched_timedout_job() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad | 4096-ptr_max |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_stop() -> drm_sched_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | bad | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ptdev->mmu->vm.lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct panthor_mmu)->vm.lock |