Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 5552
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c, line 2269
- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c, line 143
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c, line 1120
- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c, line 1517
- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c, line 1720
- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c, line 1366
- drivers/gpu/drm/msm/adreno/adreno_device.c, line 361
- drivers/gpu/drm/scheduler/sched_main.c
- drivers/gpu/drm/xe/xe_gpu_scheduler.c, line 94
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c amdgpu_vcn_ring_reset_end_helper() -> drm_sched_wqueue_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &vinst->engine_reset_mutex | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_vcn_inst)->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c vcn_v4_0_3_reset_jpeg_post_helper() -> drm_sched_wqueue_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ready | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &vinst->engine_reset_mutex | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_vcn_inst)->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c amdgpu_multi_ring_reset_helper_end() -> drm_sched_wqueue_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ready | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &adev->reset_domain->sem | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c vcn_v5_0_1_reset_jpeg_post_helper() -> drm_sched_wqueue_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ready | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &vinst->engine_reset_mutex | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_vcn_inst)->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_reset_start_compute_scheds() -> drm_sched_wqueue_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c amdgpu_sdma_reset_engine() -> drm_sched_wqueue_start()
| 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 | |||
| LOCK2 | &sdma_instance->engine_reset_mutex | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdgpu_sdma_instance)->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c amdgpu_sdma_reset_engine() -> drm_sched_wqueue_start()
| 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 | |||
| LOCK2 | &sdma_instance->engine_reset_mutex | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdgpu_sdma_instance)->engine_reset_mutex |
drivers/gpu/drm/scheduler/sched_main.c drm_sched_start() -> drm_sched_wqueue_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->job_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sched->work_tdr.timer.entry->pprev | 4096-ptr_max |
| CAPPED_DATA | 0 | &sched->pending_list | 1 |
| DATA_SOURCE | 0 | sched | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adev->grbm_idx_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &ptdev->mmu->vm.lock | ||
| HALF_LOCKED2 | &v3d->reset_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/msm/adreno/adreno_device.c resume_scheduler() -> drm_sched_wqueue_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| BUF_SIZE | 0 | sched | 632 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fsm->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_debugfs_ib_preempt() -> drm_sched_wqueue_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->pause_submit | 1 |
| PARAM_VALUE | 0 | sched->ready | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &adev->reset_domain->sem | ||
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_debugfs_test_ib_show() -> drm_sched_wqueue_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ready | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->reset_domain->sem | ||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/gpu/drm/xe/xe_gpu_scheduler.c xe_sched_submission_start() -> drm_sched_wqueue_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &group->list_lock | ||
| HALF_LOCKED2 | &guc->submission_state.lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_sched_resume() -> drm_sched_wqueue_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ready | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &hive->hive_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_timedout() -> drm_sched_wqueue_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->pause_submit | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |