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, line 731
- drivers/accel/ethosu/ethosu_job.c, line 348
- drivers/accel/rocket/rocket_job.c, line 487
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 2272
- drivers/gpu/drm/etnaviv/etnaviv_sched.c, line 154
- drivers/gpu/drm/imagination/pvr_queue.c, line 1367
- drivers/gpu/drm/lima/lima_sched.c, line 536
- drivers/gpu/drm/msm/msm_gem_vma.c, line 852
- drivers/gpu/drm/msm/msm_ringbuffer.c, line 110
- drivers/gpu/drm/nouveau/nouveau_sched.c, line 427
- drivers/gpu/drm/panfrost/panfrost_job.c, line 900
- drivers/gpu/drm/panthor/panthor_mmu.c, line 2929
- drivers/gpu/drm/panthor/panthor_sched.c, line 3598
- drivers/gpu/drm/scheduler/sched_main.c, line 1103
- drivers/gpu/drm/scheduler/tests/mock_scheduler.c, line 304
- drivers/gpu/drm/v3d/v3d_sched.c, line 838
- drivers/gpu/drm/xe/xe_dep_scheduler.c, line 92
- drivers/gpu/drm/xe/xe_execlist.c, line 351
- drivers/gpu/drm/xe/xe_gpu_scheduler.c, line 83
Smatch caller information:
drivers/gpu/drm/msm/msm_gem_vma.c msm_gem_vm_create() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 642911372131549184 |
| PARAM_VALUE | 1 | args->credit_limit | 1 |
| PARAM_VALUE | 1 | args->hang_limit | 0 |
| PARAM_VALUE | 1 | args->name | 5690156905696923648 |
| PARAM_VALUE | 1 | args->num_rqs | 1 |
| PARAM_VALUE | 1 | args->ops | 8549798441707823104 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->submit_wq | 0 |
| PARAM_VALUE | 1 | args->timeout | s64max |
| PARAM_VALUE | 1 | args->timeout_wq | 0 |
| TERMINATED | 1 | args->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &init_lock | ||
| HALF_LOCKED2 | &gpu->lock |
drivers/gpu/drm/panthor/panthor_sched.c group_create_queue() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 5664853048286674944 |
| PARAM_VALUE | 1 | args->hang_limit | 0 |
| PARAM_VALUE | 1 | args->name | 1-u64max |
| PARAM_VALUE | 1 | args->num_rqs | 1 |
| PARAM_VALUE | 1 | args->ops | 7082525358929809408 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->timeout | s64max |
| USER_DATA | 1 | args->credit_limit | 0-536870911 |
drivers/accel/ethosu/ethosu_job.c ethosu_job_init() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 300726573918138368 |
| PARAM_VALUE | 1 | args->credit_limit | 1 |
| PARAM_VALUE | 1 | args->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | args->hang_limit | 0 |
| PARAM_VALUE | 1 | args->num_rqs | 4 |
| PARAM_VALUE | 1 | args->ops | 5198693454682636288 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->submit_wq | 0 |
| PARAM_VALUE | 1 | args->timeout | 0-536870912 |
| PARAM_VALUE | 1 | args->timeout_wq | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/accel/rocket/rocket_job.c rocket_job_init() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 7197993670339731456 |
| PARAM_VALUE | 1 | args->credit_limit | 1 |
| PARAM_VALUE | 1 | args->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | args->hang_limit | 0 |
| PARAM_VALUE | 1 | args->num_rqs | 4 |
| PARAM_VALUE | 1 | args->ops | 993235527692136448 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->submit_wq | 0 |
| PARAM_VALUE | 1 | args->timeout | 0-536870912 |
| PARAM_VALUE | 1 | args->timeout_wq | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nouveau_sched.c nouveau_sched_init() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 1141776294799478784 |
| PARAM_VALUE | 1 | args->credit_limit | 1,1023 |
| PARAM_VALUE | 1 | args->hang_limit | 0 |
| PARAM_VALUE | 1 | args->name | 6641479277142933504 |
| PARAM_VALUE | 1 | args->num_rqs | 4 |
| PARAM_VALUE | 1 | args->ops | 1115399956942417920 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->submit_wq | 1-u64max |
| PARAM_VALUE | 1 | args->timeout | 0-536870912 |
| PARAM_VALUE | 1 | args->timeout_wq | 0 |
| BUF_SIZE | 0 | sched | 632 |
| TERMINATED | 1 | args->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &file_priv->driver_priv->mutex |
drivers/gpu/drm/v3d/v3d_sched.c v3d_queue_sched_init() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | args | 220604911545323520 |
| PARAM_VALUE | 1 | args->credit_limit | 1 |
| PARAM_VALUE | 1 | args->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | args->hang_limit | 0 |
| PARAM_VALUE | 1 | args->name | 991837730487128064,2820562457311076352,2890470122875281408,5629196353956552704,6095672923832799232,8933676923300589568 |
| PARAM_VALUE | 1 | args->num_rqs | 4 |
| PARAM_VALUE | 1 | args->ops | 1257376609983713280,1267774514295250944,1514168692737015808,2386824295349821440,3860088205956632576,8286300887041155072 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->submit_wq | 0 |
| PARAM_VALUE | 1 | args->timeout | 0-536870912 |
| PARAM_VALUE | 1 | args->timeout_wq | 4096-ptr_max |
| TERMINATED | 1 | args->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_execlist.c execlist_exec_queue_init() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 3224730844183826432 |
| PARAM_VALUE | 1 | args->credit_limit | 55 |
| PARAM_VALUE | 1 | args->hang_limit | 1 |
| PARAM_VALUE | 1 | args->num_rqs | 1 |
| PARAM_VALUE | 1 | args->ops | 1447900288350638080 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->submit_wq | 0 |
| PARAM_VALUE | 1 | args->timeout | s64max |
| PARAM_VALUE | 1 | args->timeout_wq | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ¶m.hwe->gt->oa.gt_lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/msm/msm_ringbuffer.c msm_ringbuffer_new() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 6932395750707654656 |
| PARAM_VALUE | 1 | args->hang_limit | 0 |
| PARAM_VALUE | 1 | args->num_rqs | 4 |
| PARAM_VALUE | 1 | args->ops | 145663721474093056 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->submit_wq | 0 |
| PARAM_VALUE | 1 | args->timeout | s64max |
| PARAM_VALUE | 1 | args->timeout_wq | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/panfrost/panfrost_job.c panfrost_jm_init() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 422062218835800064 |
| PARAM_VALUE | 1 | args->credit_limit | 1-2 |
| PARAM_VALUE | 1 | args->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | args->hang_limit | 0 |
| PARAM_VALUE | 1 | args->num_rqs | 4 |
| PARAM_VALUE | 1 | args->ops | 6863082662818770944 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->submit_wq | 0 |
| PARAM_VALUE | 1 | args->timeout | 0-536870912 |
| PARAM_VALUE | 1 | args->timeout_wq | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/etnaviv/etnaviv_sched.c etnaviv_sched_init() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 8555998231119499264 |
| PARAM_VALUE | 1 | args->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | args->num_rqs | 4 |
| PARAM_VALUE | 1 | args->ops | 1917145196817620992 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->submit_wq | 0 |
| PARAM_VALUE | 1 | args->timeout | 0-536870912 |
| PARAM_VALUE | 1 | args->timeout_wq | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/accel/amdxdna/aie2_ctx.c aie2_hwctx_init() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 7455391485320101888 |
| PARAM_VALUE | 1 | args->credit_limit | 4 |
| PARAM_VALUE | 1 | args->hang_limit | 0 |
| PARAM_VALUE | 1 | args->name | 4188735460082491392 |
| PARAM_VALUE | 1 | args->num_rqs | 4 |
| PARAM_VALUE | 1 | args->ops | 7284910270290399232 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->submit_wq | 0 |
| PARAM_VALUE | 1 | args->timeout | 0-536870912,4611686018427387902,s64max |
| PARAM_VALUE | 1 | args->timeout_wq | 0 |
| BUF_SIZE | 0 | sched | 632 |
| TERMINATED | 1 | args->name | 1 |
| LOCK2 | _T->lock | ||
| LOCK2 | global &drm_unplug_srcu |
drivers/gpu/drm/lima/lima_sched.c lima_sched_pipe_init() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 6771210090490150912 |
| PARAM_VALUE | 1 | args->credit_limit | 1 |
| PARAM_VALUE | 1 | args->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | args->hang_limit | 0-s32max |
| PARAM_VALUE | 1 | args->name | 3362430005361795072,6489917735164420096 |
| PARAM_VALUE | 1 | args->num_rqs | 4 |
| PARAM_VALUE | 1 | args->ops | 1644468620407672832 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->submit_wq | 0 |
| PARAM_VALUE | 1 | args->timeout | 0-536870912 |
| PARAM_VALUE | 1 | args->timeout_wq | 0 |
| TERMINATED | 1 | args->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_dep_scheduler.c xe_dep_scheduler_create() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 2928411926026272768 |
| PARAM_VALUE | 1 | args->credit_limit | 16 |
| PARAM_VALUE | 1 | args->hang_limit | 0 |
| PARAM_VALUE | 1 | args->num_rqs | 1 |
| PARAM_VALUE | 1 | args->ops | 5850035158087671808 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->timeout | s64max |
| PARAM_VALUE | 1 | args->timeout_wq | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ¶m.hwe->gt->oa.gt_lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/scheduler/tests/mock_scheduler.c drm_mock_sched_new() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 16,4096-ptr_max |
| PARAM_VALUE | 1 | args | 5090808126975426560 |
| PARAM_VALUE | 1 | args->credit_limit | u32max |
| PARAM_VALUE | 1 | args->dev | 0 |
| PARAM_VALUE | 1 | args->hang_limit | 1 |
| PARAM_VALUE | 1 | args->name | 8358749499913707520 |
| PARAM_VALUE | 1 | args->num_rqs | 4 |
| PARAM_VALUE | 1 | args->ops | 3625802110153216000 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->submit_wq | 0 |
| PARAM_VALUE | 1 | args->timeout | 50,s64max |
| PARAM_VALUE | 1 | args->timeout_wq | 0 |
| TERMINATED | 1 | args->name | 1 |
| MEM_ZERO | 0 | sched |
drivers/gpu/drm/xe/xe_gpu_scheduler.c xe_sched_init() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 7307232884338802688 |
| PARAM_VALUE | 1 | args->credit_limit | 55 |
| PARAM_VALUE | 1 | args->hang_limit | 64 |
| PARAM_VALUE | 1 | args->num_rqs | 1 |
| PARAM_VALUE | 1 | args->ops | 5946580156054020096 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->timeout | 0-536870912,s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ¶m.hwe->gt->oa.gt_lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_init_schedulers() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 7179262252779036672 |
| PARAM_VALUE | 1 | args->hang_limit | 0 |
| PARAM_VALUE | 1 | args->num_rqs | 4 |
| PARAM_VALUE | 1 | args->ops | 8284227257476902912 |
| PARAM_VALUE | 1 | args->submit_wq | 0 |
drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_create() -> drm_sched_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | args | 4958359714557169664 |
| PARAM_VALUE | 1 | args->credit_limit | 1 |
| PARAM_VALUE | 1 | args->hang_limit | 0 |
| PARAM_VALUE | 1 | args->name | 4930682689402630144 |
| PARAM_VALUE | 1 | args->num_rqs | 1 |
| PARAM_VALUE | 1 | args->ops | 6137717106612879360 |
| PARAM_VALUE | 1 | args->score | 0 |
| PARAM_VALUE | 1 | args->timeout | s64max |
| PARAM_VALUE | 1 | args->timeout_wq | 0 |
| TERMINATED | 1 | args->name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &drm_unplug_srcu |