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 5468
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c, line 2283
- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c, line 139
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c, line 979
- drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c, line 1497
- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c, line 1683
- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c, line 1330
- drivers/gpu/drm/msm/adreno/adreno_device.c, line 350
- drivers/gpu/drm/scheduler/sched_main.c
- drivers/gpu/drm/xe/xe_gpu_scheduler.c, line 100
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c amdgpu_vcn_ring_reset_begin_helper() -> drm_sched_wqueue_stop()
| 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_pre_helper() -> drm_sched_wqueue_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &adev->jpeg.jpeg_pg_lock | ||
| LOCK2 | &vinst->engine_reset_mutex | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_jpeg)->jpeg_pg_lock | ||
| TYPE_LOCK | (struct amdgpu_vcn_inst)->engine_reset_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c amdgpu_multi_ring_reset_helper_begin() -> drm_sched_wqueue_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->pause_submit | 0 |
| 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_pre_helper() -> drm_sched_wqueue_stop()
| 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/amdgpu_gfx.c amdgpu_gfx_reset_stop_compute_scheds() -> drm_sched_wqueue_stop()
| 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_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| 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_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| 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_fini() -> drm_sched_wqueue_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched->ops->cancel_job | 0,7588619251115601920 |
| PARAM_VALUE | 0 | sched->ops->free_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ops->prepare_job | 0,6347586488842227712 |
| PARAM_VALUE | 0 | sched->ops->run_job | 4096-ptr_max |
| PARAM_VALUE | 0 | sched->ops->timedout_job | 0,4096-ptr_max |
| BUF_SIZE | 0 | sched | (-1),728 |
| BUF_SIZE | 0 | sched | (-1),728 |
| DATA_SOURCE | 0 | sched | $0 |
| STR_LEN | 0 | sched->name | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | sched->credit_limit | 0-536870911 |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/scheduler/sched_main.c drm_sched_stop() -> drm_sched_wqueue_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| 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 | &guc->submission_state.lock | ||
| HALF_LOCKED2 | &ptdev->mmu->vm.lock | ||
| HALF_LOCKED2 | &v3d->reset_lock |
drivers/gpu/drm/msm/adreno/adreno_device.c suspend_scheduler() -> drm_sched_wqueue_stop()
| 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 | &_dev->mutex | ||
| HALF_LOCKED2 | &fsm->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_debugfs_ib_preempt() -> drm_sched_wqueue_stop()
| 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 | &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_stop()
| 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_stop() -> drm_sched_wqueue_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &guc->submission_state.lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_halt_activities() -> drm_sched_wqueue_stop()
| 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 | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c amdgpu_job_timedout() -> drm_sched_wqueue_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sched | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |