Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c, line 4323
- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c, line 281
- drivers/gpu/drm/amd/amdgpu/mes_v12_0.c, line 264
- drivers/gpu/drm/amd/amdgpu/mes_v12_1.c, line 264
Smatch caller information:
19f4aff6129bc862 gfx_v9_0_kiq_read_clock() -> amdgpu_ring_undo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs->emit_rreg | 1-u64max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &kiq->ring_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
drivers/gpu/drm/amd/amdgpu/mes_v12_1.c mes_v12_1_submit_pkt_and_poll_completion() -> amdgpu_ring_undo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | ring_lock | ||
| HALF_LOCKED2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_fw_reg_write_reg_wait() -> amdgpu_ring_undo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &kiq->ring_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_submit_pkt_and_poll_completion() -> amdgpu_ring_undo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | ring_lock | ||
| HALF_LOCKED2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_kiq_hdp_flush() -> amdgpu_ring_undo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->gfx.funcs->get_hdp_flush_mask | 0,1294107431044386816,7035510910386749440,8166760959833321472 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_cp8 | 256 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_cp9 | 512 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_sdma0 | 1024 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_sdma1 | 2048 |
| PARAM_VALUE | 0 | ring->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ring->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs->emit_hdp_flush | 1-u64max |
| BUF_SIZE | 0 | ring | 1264 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &kiq->ring_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &dqm->lock_hidden | ||
| HALF_LOCKED2 | &p->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &psp->mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_kiq_rreg() -> amdgpu_ring_undo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs->emit_rreg | 1-u64max |
| BUF_SIZE | 0 | ring | 1264 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &kiq->ring_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &adev->irq.lock | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | irqflags | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_kiq_wreg() -> amdgpu_ring_undo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs->emit_wreg | 1-u64max |
| BUF_SIZE | 0 | ring | 1264 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->reset_domain->sem | ||
| LOCK2 | &kiq->ring_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c mes_v11_0_submit_pkt_and_poll_completion() -> amdgpu_ring_undo()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 20224 |
| BUF_SIZE | 0 | ring | 20224 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | _T->lock |