Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 19 files:
- drivers/accel/amdxdna/aie2_ctx.c
- drivers/accel/ethosu/ethosu_job.c
- drivers/accel/rocket/rocket_job.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c, line 597
- drivers/gpu/drm/etnaviv/etnaviv_sched.c, line 159
- drivers/gpu/drm/imagination/pvr_queue.c
- drivers/gpu/drm/lima/lima_sched.c, line 541
- drivers/gpu/drm/msm/msm_gem_vma.c, line 923
- drivers/gpu/drm/msm/msm_ringbuffer.c, line 136
- drivers/gpu/drm/nouveau/nouveau_sched.c
- drivers/gpu/drm/panfrost/panfrost_job.c
- drivers/gpu/drm/panthor/panthor_mmu.c
- drivers/gpu/drm/panthor/panthor_sched.c, line 925
- drivers/gpu/drm/scheduler/sched_main.c, line 1151
- drivers/gpu/drm/scheduler/tests/mock_scheduler.c, line 325
- drivers/gpu/drm/v3d/v3d_sched.c, line 893
- drivers/gpu/drm/xe/xe_dep_scheduler.c
- drivers/gpu/drm/xe/xe_execlist.c
- drivers/gpu/drm/xe/xe_gpu_scheduler.c, line 89
Smatch caller information:
drivers/gpu/drm/msm/msm_gem_vma.c msm_gem_vm_close() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->free_guilty | 1 |
| PARAM_VALUE | 0 | sched->pause_submit | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/panthor/panthor_sched.c group_free_queue() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ops | 1-u64max |
| NOCHECK_CALL | |||
| USER_DATA | 0 | sched->credit_limit | 0-536870911 |
drivers/accel/ethosu/ethosu_job.c ethosu_job_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/accel/ethosu/ethosu_job.c ethosu_job_init() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->credit_limit | 1 |
| PARAM_VALUE | 0 | sched->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ops | 5198693454682636288 |
| PARAM_VALUE | 0 | sched->score | 1-u64max |
| PARAM_VALUE | 0 | sched->submit_wq | 0 |
| PARAM_VALUE | 0 | sched->timeout | 0-536870912 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/accel/rocket/rocket_job.c rocket_job_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/accel/rocket/rocket_job.c rocket_job_init() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->credit_limit | 1 |
| PARAM_VALUE | 0 | sched->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ops | 993235527692136448 |
| PARAM_VALUE | 0 | sched->score | 1-u64max |
| PARAM_VALUE | 0 | sched->submit_wq | 0 |
| PARAM_VALUE | 0 | sched->timeout | 0-536870912 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c amdgpu_fence_driver_sw_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ops | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/gpu/drm/nouveau/nouveau_sched.c nouveau_sched_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 1-u64max |
| BUF_SIZE | 0 | sched | 632 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/nouveau/nouveau_sched.c nouveau_sched_init() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->_score.counter | 0 |
| PARAM_VALUE | 0 | sched->avg_job_us.internal | 0 |
| PARAM_VALUE | 0 | sched->credit_count.counter | 0 |
| PARAM_VALUE | 0 | sched->credit_limit | 1,1023 |
| PARAM_VALUE | 0 | sched->hang_limit | 0 |
| PARAM_VALUE | 0 | sched->job_id_count.counter | 0 |
| PARAM_VALUE | 0 | sched->job_scheduled.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->job_scheduled.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->job_scheduled.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->job_scheduled.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->job_scheduled.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->name | 6641479277142933504 |
| PARAM_VALUE | 0 | sched->ops | 1115399956942417920 |
| PARAM_VALUE | 0 | sched->ops->cancel_job | 0,7588619251115601920 |
| PARAM_VALUE | 0 | sched->ops->free_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ops->prepare_job | 0,6347586488842227712 |
| PARAM_VALUE | 0 | sched->ops->run_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ops->timedout_job | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sched->pause_submit | 0 |
| PARAM_VALUE | 0 | sched->pending_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->pending_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->pending_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->pending_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->pending_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ready | 1 |
| PARAM_VALUE | 0 | sched->rq.head_prio | (-1) |
| PARAM_VALUE | 0 | sched->score | 1-u64max |
| PARAM_VALUE | 0 | sched->submit_wq | 1-u64max |
| PARAM_VALUE | 0 | sched->timeout | 0-536870912 |
| BUF_SIZE | 0 | sched | 632 |
| STR_LEN | 0 | sched->name | (-1) |
| TERMINATED | 0 | sched->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &file_priv->driver_priv->mutex |
drivers/gpu/drm/v3d/v3d_sched.c v3d_sched_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched->ready | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_execlist.c execlist_exec_queue_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_execlist.c execlist_exec_queue_init() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->credit_limit | 55 |
| PARAM_VALUE | 0 | sched->hang_limit | 1 |
| 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 | 1447900288350638080 |
| 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 | s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | sched->credit_limit | 55 |
| HALF_LOCKED2 | ¶m.hwe->gt->oa.gt_lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/msm/msm_ringbuffer.c msm_ringbuffer_destroy() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/panfrost/panfrost_job.c panfrost_jm_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/panfrost/panfrost_job.c panfrost_jm_init() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/etnaviv/etnaviv_sched.c etnaviv_sched_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/accel/amdxdna/aie2_ctx.c aie2_hwctx_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->free_guilty | 1 |
| PARAM_VALUE | 0 | sched->pause_submit | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &xdna->dev_lock | ||
| HALF_LOCKED2 | &xdna->client_lock | ||
| HALF_LOCKED2 | &xdna->dev_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdxdna_dev)->dev_lock |
drivers/accel/amdxdna/aie2_ctx.c aie2_hwctx_init() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| 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->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 |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| LOCK2 | global &drm_unplug_srcu |
drivers/gpu/drm/lima/lima_sched.c lima_sched_pipe_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_dep_scheduler.c xe_dep_scheduler_create() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->credit_limit | 16 |
| 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 | 5850035158087671808 |
| 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 | s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | ¶m.hwe->gt->oa.gt_lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_dep_scheduler.c xe_dep_scheduler_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/scheduler/tests/mock_scheduler.c drm_mock_sched_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_gpu_scheduler.c xe_sched_fini() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->pause_submit | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_create() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->credit_limit | 1 |
| 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->name | 4930682689402630144 |
| PARAM_VALUE | 0 | sched->ops | 6137717106612879360 |
| 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 | s64max |
| TERMINATED | 0 | sched->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_free() -> drm_sched_fini()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &cli->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tlb_inval->seqno_lock |