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 1173
- drivers/accel/ethosu/ethosu_job.c, line 137
- drivers/accel/rocket/rocket_job.c, line 224
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c, line 1373
- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c, line 379
- drivers/gpu/drm/etnaviv/etnaviv_sched.c, line 135
- drivers/gpu/drm/imagination/pvr_queue.c, line 1230
- drivers/gpu/drm/lima/lima_sched.c, line 180
- drivers/gpu/drm/msm/msm_gem_submit.c, line 804
- drivers/gpu/drm/msm/msm_gem_vma.c, line 1580
- drivers/gpu/drm/nouveau/nouveau_sched.c, line 326
- drivers/gpu/drm/panfrost/panfrost_job.c, line 338
- drivers/gpu/drm/panthor/panthor_drv.c, line 710
- drivers/gpu/drm/scheduler/sched_entity.c, line 633
- drivers/gpu/drm/scheduler/tests/sched_tests.h, line 155
- drivers/gpu/drm/v3d/v3d_submit.c
- drivers/gpu/drm/xe/xe_sched_job.c, line 297
- drivers/gpu/drm/xe/xe_tlb_inval_job.c, line 278
Smatch caller information:
drivers/gpu/drm/xe/xe_tlb_inval_job.c xe_tlb_inval_job_push() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->cb.func | 0 |
| PARAM_VALUE | 0 | sched_job->credits | 1 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_head | 0 |
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->queue_node.next | 0 |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_submit() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | &p->adev->notifier_lock | ||
| TYPE_LOCK | (struct amdgpu_device)->notifier_lock |
drivers/gpu/drm/msm/msm_gem_vma.c msm_ioctl_vm_bind() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->cb.func | 0 |
| PARAM_VALUE | 0 | sched_job->credits | 1 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_head | 0 |
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->queue_node.next | 0 |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &queue->lock | ||
| TYPE_LOCK | (struct msm_gpu_submitqueue)->lock |
drivers/gpu/drm/msm/msm_gem_submit.c msm_ioctl_gem_submit() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->cb.func | 0 |
| PARAM_VALUE | 0 | sched_job->credits | 1 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_head | 0 |
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->queue_node.next | 0 |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &queue->lock | ||
| TYPE_LOCK | (struct msm_gpu_submitqueue)->lock |
drivers/accel/ethosu/ethosu_job.c ethosu_job_push() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->cb.func | 0 |
| PARAM_VALUE | 0 | sched_job->credits | 1 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_head | 0 |
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->queue_node.next | 0 |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| MEM_ZERO | 0 | sched_job | |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/gpu/drm/panthor/panthor_drv.c panthor_submit_ctx_push_jobs() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | global &drm_unplug_srcu |
drivers/accel/rocket/rocket_job.c rocket_job_push() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->cb.func | 0 |
| PARAM_VALUE | 0 | sched_job->credits | 1 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_head | 0 |
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->queue_node.next | 0 |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| MEM_ZERO | 0 | sched_job | |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/gpu/drm/nouveau/nouveau_sched.c nouveau_job_submit() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &sched->mutex | ||
| HALF_LOCKED2 | &file_priv->driver_priv->mutex | ||
| TYPE_LOCK | (struct nouveau_sched)->mutex |
drivers/gpu/drm/v3d/v3d_submit.c v3d_submit_jobs() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | &v3d->sched_lock | ||
| TYPE_LOCK | (struct v3d_dev)->sched_lock |
drivers/gpu/drm/v3d/v3d_submit.c v3d_submit_jobs() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | &v3d->sched_lock | ||
| TYPE_LOCK | (struct v3d_dev)->sched_lock |
drivers/gpu/drm/xe/xe_sched_job.c xe_sched_job_push() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &m->job_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/scheduler/tests/tests_basic.c drm_mock_sched_job_submit() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/scheduler/tests/tests_scheduler.c drm_mock_sched_job_submit() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->cb.func | 0 |
| PARAM_VALUE | 0 | sched_job->credits | 1 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_head | 0 |
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->queue_node.next | 0 |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/panfrost/panfrost_job.c panfrost_job_push() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->cb.func | 0 |
| PARAM_VALUE | 0 | sched_job->credits | 1 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_head | 0 |
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->queue_node.next | 0 |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| MEM_ZERO | 0 | sched_job | |
| NOCHECK_CALL | |||
| LOCK2 | &pfdev->sched_lock | ||
| TYPE_LOCK | (struct panfrost_device)->sched_lock |
drivers/gpu/drm/etnaviv/etnaviv_sched.c etnaviv_sched_push_job() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->cb.func | 0 |
| PARAM_VALUE | 0 | sched_job->credits | 1 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_head | 0 |
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->queue_node.next | 0 |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| MEM_ZERO | 0 | sched_job | |
| NOCHECK_CALL | |||
| LOCK2 | &gpu->sched_lock | ||
| TYPE_LOCK | (struct etnaviv_gpu)->sched_lock |
drivers/accel/amdxdna/aie2_ctx.c aie2_cmd_submit() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->cb.func | 0 |
| PARAM_VALUE | 0 | sched_job->credits | 1 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_head | 0 |
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->queue_node.next | 0 |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| MEM_ZERO | 0 | sched_job | |
| NOCHECK_CALL | |||
| LOCK2 | &client->hwctx_srcu | ||
| LOCK2 | &hwctx->priv->io_lock | ||
| LOCK2 | &hwctx->priv->job_sem | ||
| LOCK2 | &xdna->notifier_lock | ||
| HALF_LOCKED2 | &xdna->client_lock | ||
| HALF_LOCKED2 | &xdna->dev_lock | ||
| TYPE_LOCK | (struct amdxdna_client)->hwctx_srcu | ||
| TYPE_LOCK | (struct amdxdna_dev)->notifier_lock | ||
| TYPE_LOCK | (struct amdxdna_hwctx_priv)->io_lock | ||
| TYPE_LOCK | (struct amdxdna_hwctx_priv)->job_sem |
drivers/gpu/drm/lima/lima_sched.c lima_sched_context_queue_task() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->cb.func | 0 |
| PARAM_VALUE | 0 | sched_job->credits | 1 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_flags | 33554436 |
| PARAM_VALUE | 0 | sched_job->dependencies.xa_head | 0 |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->queue_node.next | 0 |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| MEM_ZERO | 0 | sched_job | |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_submit() -> drm_sched_entity_push_job()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->entity_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->s_fence | 4096-ptr_max |
| PARAM_VALUE | 0 | sched_job->sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &entity->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &prange->migrate_mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |