Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/accel/amdxdna/aie2_ctx.c
- drivers/accel/ethosu/ethosu_job.c, line 304
- drivers/accel/rocket/rocket_job.c, line 394
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c, line 302
- drivers/gpu/drm/etnaviv/etnaviv_sched.c, line 88
- drivers/gpu/drm/imagination/pvr_queue.c
- drivers/gpu/drm/lima/lima_sched.c, line 470
- drivers/gpu/drm/nouveau/nouveau_sched.c, line 381
- drivers/gpu/drm/panfrost/panfrost_job.c, line 752
- drivers/gpu/drm/panthor/panthor_mmu.c, line 876
- drivers/gpu/drm/panthor/panthor_sched.c, line 2756
- drivers/gpu/drm/scheduler/sched_main.c, line 502
- drivers/gpu/drm/v3d/v3d_sched.c, line 714
Smatch caller information:
drivers/gpu/drm/panthor/panthor_sched.c queue_start() -> drm_sched_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | errno | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sched->reset.lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/accel/ethosu/ethosu_job.c ethosu_job_timedout() -> drm_sched_start()
| 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 |
| PARAM_VALUE | 1 | errno | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/accel/rocket/rocket_job.c rocket_reset() -> drm_sched_start()
| 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 |
| PARAM_VALUE | 1 | errno | 0 |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c suspend_resume_compute_scheduler() -> drm_sched_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ready | 1 |
| PARAM_VALUE | 1 | errno | 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_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->free_guilty | 1 |
| PARAM_VALUE | 0 | sched->job_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sched->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->pause_submit | 1 |
| PARAM_VALUE | 0 | sched->pending_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->pending_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->work_free_job.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | sched->work_run_job.lockdep_map->name | 0-255 |
| PARAM_VALUE | 1 | errno | 0 |
| CAPPED_DATA | 0 | sched | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/v3d/v3d_sched.c v3d_gpu_reset_for_timeout() -> drm_sched_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | errno | 0 |
| 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_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | errno | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/etnaviv/etnaviv_sched.c etnaviv_sched_timedout_job() -> drm_sched_start()
| 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 |
| PARAM_VALUE | 1 | errno | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/accel/amdxdna/aie2_ctx.c aie2_hwctx_fini() -> drm_sched_start()
| 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 |
| PARAM_VALUE | 1 | errno | 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_start()
| 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 |
| PARAM_VALUE | 1 | errno | 0 |
| 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_start()
| 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 |
| PARAM_VALUE | 1 | errno | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/panthor/panthor_mmu.c panthor_vm_start() -> drm_sched_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 1 | errno | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ptdev->mmu->vm.lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct panthor_mmu)->vm.lock |