Defined in 1 files as a function:
Referenced in 14 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c, line 403
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c, line 372
- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
- drivers/gpu/drm/amd/amdgpu/mes_v11_0.c, line 1618
- drivers/gpu/drm/amd/amdgpu/mes_v12_0.c, line 1691
- drivers/gpu/drm/amd/amdgpu/mes_v12_1.c, line 1475
- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c, line 649
Smatch caller information:
19f4aff6129bc862 gfx_v9_0_kcq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &drm_unplug_srcu |
19f4aff6129bc862 gfx_v9_0_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
19f4aff6129bc862 gfx_v9_0_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_xcc_kcq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_xcc_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_xcc_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->srbm_mutex | ||
| TYPE_LOCK | (struct amdgpu_device)->srbm_mutex |
2424e8ec9bf51854 gfx_v12_0_kcq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL |
2424e8ec9bf51854 gfx_v12_0_kgq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL |
2424e8ec9bf51854 gfx_v12_0_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL |
2424e8ec9bf51854 gfx_v12_0_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL |
28ad57647bf6154f gfx_v11_0_kcq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL |
28ad57647bf6154f gfx_v11_0_kgq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL |
28ad57647bf6154f gfx_v11_0_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL |
28ad57647bf6154f gfx_v11_0_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/mes_v12_1.c mes_v12_1_queue_init() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_cp_gfx_resume() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->rptr_cpu_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->wptr_cpu_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ring->rptr_cpu_addr | 0 |
| PARAM_VALUE | 0 | *ring->wptr_cpu_addr | 0 |
| BUF_SIZE | 0 | ring | 2528 |
| BUF_SIZE | 0 | ring | 2528 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_cp_gfx_resume() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->rptr_cpu_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->wptr_cpu_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ring->rptr_cpu_addr | 0 |
| PARAM_VALUE | 0 | *ring->wptr_cpu_addr | 0 |
| BUF_SIZE | 0 | ring | 80896 |
| BUF_SIZE | 0 | ring | 80896 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_cp_gfx_resume() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->rptr_cpu_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->wptr_cpu_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ring->rptr_cpu_addr | 0 |
| PARAM_VALUE | 0 | *ring->wptr_cpu_addr | 0 |
| BUF_SIZE | 0 | ring | 79632 |
| BUF_SIZE | 0 | ring | 79632 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c amdgpu_ring_init() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | ring | (-1),1360,4080,13600,21760 |
| BUF_SIZE | 0 | ring | (-1),1360,4080,13600,21760 |
| BUF_SIZE | 0 | ring->funcs | (-1),328 |
| BUF_SIZE | 0 | ring->ring_backup | 0-u32max,u64max |
| CAPPED_DATA | 0 | ring | 1 |
| DATA_SOURCE | 0 | ring | $1 |
| STR_LEN | 0 | ring->name | (-1),3,15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->gfx.bad_op_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->gfx.cp_ecc_error_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->gfx.eop_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->gfx.muxer.ring_entry_size | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->gfx.priv_inst_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->gfx.priv_reg_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->gfx.rlc_poison_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->gfx.sq_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->sdma.ctxt_empty_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->sdma.doorbell_invalid_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->sdma.ecc_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->sdma.fence_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->sdma.illegal_inst_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->sdma.pool_timeout_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->sdma.srbm_write_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->sdma.trap_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->sdma.vm_hole_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->adev->vce.irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->fence_drv.irq_src->num_types | |
| NO_OVERFLOW_SIMPLE | 0 | ring->ring_obj->tbo.ttm->dma_ttm.sg->orig_nents |
3d756af95eb3bd31 gfx_v12_1_xcc_kcq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | ring->mqd_obj->tbo.base.resv |
3d756af95eb3bd31 gfx_v12_1_xcc_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1360 |
| BUF_SIZE | 0 | ring | 1360 |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | ring->mqd_obj->tbo.base.resv |
3d756af95eb3bd31 gfx_v12_1_xcc_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1360 |
| BUF_SIZE | 0 | ring | 1360 |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | ring->mqd_obj->tbo.base.resv |
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c sdma_v3_0_gfx_resume() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_queue_init() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_mqd_reset_restore() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| CAPPED_DATA | 0 | ring | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_cp_gfx_resume() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 2528 |
| BUF_SIZE | 0 | ring | 2528 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_kcq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_kcq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_kgq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_kiq_init_queue() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | ring | $0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_compute_queue_init() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_cp_gfx_resume() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 2528 |
| BUF_SIZE | 0 | ring | 2528 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c mes_v11_0_queue_init() -> amdgpu_ring_clear_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 20224 |
| BUF_SIZE | 0 | ring | 20224 |
| NOCHECK_CALL |