Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 18 files:
- drivers/accel/amdxdna/aie2_ctx.c, line 1120
- drivers/accel/ethosu/ethosu_job.c, line 420
- drivers/accel/rocket/rocket_job.c, line 568
- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c, line 237
- drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c, line 534
- drivers/gpu/drm/imagination/pvr_queue.c, line 1158
- drivers/gpu/drm/lima/lima_sched.c, line 130
- drivers/gpu/drm/msm/msm_gem_submit.c, line 56
- drivers/gpu/drm/msm/msm_gem_vma.c, line 969
- drivers/gpu/drm/nouveau/nouveau_sched.c, line 87
- drivers/gpu/drm/panfrost/panfrost_drv.c, line 338
- drivers/gpu/drm/panthor/panthor_mmu.c, line 3081
- drivers/gpu/drm/panthor/panthor_sched.c, line 4042
- drivers/gpu/drm/scheduler/sched_main.c, line 616
- drivers/gpu/drm/scheduler/tests/mock_scheduler.c, line 117
- drivers/gpu/drm/v3d/v3d_submit.c, line 280
- drivers/gpu/drm/xe/xe_sched_job.c, line 117
- drivers/gpu/drm/xe/xe_tlb_inval_job.c, line 135
Smatch caller information:
drivers/gpu/drm/xe/xe_tlb_inval_job.c xe_tlb_inval_job_create() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| PARAM_VALUE | 3 | owner | 0 |
| BUF_SIZE | 1 | entity | 352 |
| BUF_SIZE | 1 | entity | 352 |
| DATA_SOURCE | 1 | entity | r xe_dep_scheduler_entity |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/msm/msm_gem_vma.c vm_bind_job_create() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| PARAM_VALUE | 3 | owner | 4096-ptr_max |
| DATA_SOURCE | 3 | owner | $3 |
drivers/gpu/drm/panthor/panthor_sched.c panthor_job_create() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 8-u32max |
| PARAM_VALUE | 3 | owner | 4096-ptr_max |
| DATA_SOURCE | 2 | credits | r calc_job_credits |
| DATA_SOURCE | 3 | owner | r group_from_handle |
| DATA_SOURCE | 4 | drm_client_id | $3 |
| LOCK2 | global &drm_unplug_srcu |
drivers/gpu/drm/msm/msm_gem_submit.c submit_create() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| PARAM_VALUE | 3 | owner | 4096-ptr_max |
| DATA_SOURCE | 3 | owner | $3 |
| DATA_SOURCE | 4 | drm_client_id | $6 |
drivers/accel/ethosu/ethosu_job.c ethosu_ioctl_submit_job() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| PARAM_VALUE | 3 | owner | 0 |
drivers/gpu/drm/panfrost/panfrost_drv.c panfrost_ioctl_submit() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| PARAM_VALUE | 3 | owner | 0 |
drivers/accel/rocket/rocket_job.c rocket_ioctl_submit_job() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| PARAM_VALUE | 3 | owner | 0 |
drivers/gpu/drm/nouveau/nouveau_sched.c nouveau_job_init() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1-511 |
| PARAM_VALUE | 3 | owner | 0 |
| USER_DATA | 2 | credits | 2-511[c] |
| HALF_LOCKED2 | &file_priv->driver_priv->mutex |
drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c etnaviv_ioctl_gem_submit() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| PARAM_VALUE | 3 | owner | 4096-ptr_max |
| BUF_SIZE | 3 | owner | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
drivers/gpu/drm/v3d/v3d_submit.c v3d_submit_add_job() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| BUF_SIZE | 3 | owner | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
drivers/gpu/drm/xe/xe_sched_job.c xe_sched_job_create() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| PARAM_VALUE | 3 | owner | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->lock |
drivers/accel/amdxdna/aie2_ctx.c aie2_cmd_submit() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| PARAM_VALUE | 3 | owner | 4096-ptr_max |
| DATA_SOURCE | 3 | owner | $0 |
| LOCK2 | &client->hwctx_srcu | ||
| LOCK2 | &hwctx->priv->job_sem | ||
| HALF_LOCKED2 | &xdna->client_lock | ||
| HALF_LOCKED2 | &xdna->dev_lock | ||
| TYPE_LOCK | (struct amdxdna_client)->hwctx_srcu | ||
| TYPE_LOCK | (struct amdxdna_hwctx_priv)->job_sem |
drivers/gpu/drm/lima/lima_sched.c lima_sched_task_init() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| DATA_SOURCE | 3 | owner | $4 |
| DATA_SOURCE | 4 | drm_client_id | $5 |
drivers/gpu/drm/scheduler/tests/mock_scheduler.c drm_mock_sched_job_new() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 16,4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| PARAM_VALUE | 3 | owner | 0 |
| PARAM_VALUE | 4 | drm_client_id | 1 |
| MEM_ZERO | 0 | job |
drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_bind_job_create() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 4096-ptr_max |
| PARAM_VALUE | 2 | credits | 1 |
| PARAM_VALUE | 3 | owner | 4096-ptr_max |
| DATA_SOURCE | 3 | owner | $1 |
| LOCK2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_alloc() -> drm_sched_job_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | job | 4096-ptr_max |
| PARAM_VALUE | 1 | entity | 1-u64max |
| PARAM_VALUE | 2 | credits | 1 |
| BUF_SIZE | 1 | entity | (-1),352 |
| BUF_SIZE | 1 | entity | (-1),352 |
| BUF_SIZE | 3 | owner | (-1),3552 |
| BUF_SIZE | 3 | owner | (-1),3552 |
| DATA_SOURCE | 1 | entity | $2 |
| DATA_SOURCE | 3 | owner | $3 |
| DATA_SOURCE | 4 | drm_client_id | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | entity->num_sched_list |