Defined in 1 files as a function:
Referenced in 9 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c, line 44
- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v11_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/mes_v11_0.c
- drivers/gpu/drm/amd/amdgpu/mes_v12_0.c
- drivers/gpu/drm/amd/amdgpu/mes_v12_1.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c amdgpu_umsch_mm_submit_pkt() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 2 | count_dw | 64 |
| BUF_SIZE | 0 | ring | 1264 |
| BUF_SIZE | 1 | src | 256 |
| BUF_SIZE | 1 | src | 256 |
| DATA_SOURCE | 1 | src | $1 |
| DATA_SOURCE | 2 | count_dw | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c amdgpu_ring_mux_copy_pkt_from_sw_ring() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mux->lock | ||
| TYPE_LOCK | (struct amdgpu_ring_mux)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c amdgpu_ring_mux_copy_pkt_from_sw_ring() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| CAPPED_DATA | 2 | count_dw | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | count_dw | 1-s32max[c] |
| LOCK2 | &mux->lock | ||
| TYPE_LOCK | (struct amdgpu_ring_mux)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c amdgpu_ring_mux_copy_pkt_from_sw_ring() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| CAPPED_DATA | 2 | count_dw | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | count_dw | 0-s32max[c] |
| LOCK2 | &mux->lock | ||
| TYPE_LOCK | (struct amdgpu_ring_mux)->lock |
19f4aff6129bc862 gfx_v9_0_ring_emit_ce_meta() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 2 | count_dw | 10 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| DATA_SOURCE | 0 | ring | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
19f4aff6129bc862 gfx_v9_0_ring_emit_ce_meta() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 1 | src | 5448020680200925184 |
| PARAM_VALUE | 2 | count_dw | 10 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 1 | src | 40 |
| DATA_SOURCE | 0 | ring | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
19f4aff6129bc862 gfx_v9_0_ring_emit_de_meta() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count_dw | 27 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
19f4aff6129bc862 gfx_v9_0_ring_emit_de_meta() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 1 | src | 1899246728779997184 |
| PARAM_VALUE | 2 | count_dw | 27 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| BUF_SIZE | 1 | src | 108 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
28ad57647bf6154f gfx_v11_0_ring_emit_de_meta() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->gfx.mcbp | 1 |
| PARAM_VALUE | 0 | ring->adev->gfx.rs64_enable | 0 |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count_dw | 27 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
28ad57647bf6154f gfx_v11_0_ring_emit_de_meta() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->gfx.mcbp | 1 |
| PARAM_VALUE | 0 | ring->adev->gfx.rs64_enable | 0 |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 1 | src | 8785137478652256256 |
| PARAM_VALUE | 2 | count_dw | 27 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| BUF_SIZE | 1 | src | 108 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/mes_v12_1.c mes_v12_1_submit_pkt_and_poll_completion() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count_dw | 64 |
| BUF_SIZE | 1 | src | 256 |
| BUF_SIZE | 1 | src | 256 |
| DATA_SOURCE | 1 | src | $3 |
| 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/mes_v12_1.c mes_v12_1_submit_pkt_and_poll_completion() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4164958712651218944 |
| PARAM_VALUE | 2 | count_dw | 64 |
| BUF_SIZE | 1 | src | 256 |
| 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/mes_v12_0.c mes_v12_0_submit_pkt_and_poll_completion() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count_dw | 64 |
| BUF_SIZE | 1 | src | 256 |
| BUF_SIZE | 1 | src | 256 |
| DATA_SOURCE | 1 | src | $2 |
| 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/mes_v12_0.c mes_v12_0_submit_pkt_and_poll_completion() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 1442940048669151232 |
| PARAM_VALUE | 2 | count_dw | 64 |
| BUF_SIZE | 1 | src | 256 |
| 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/gfx_v8_0.c gfx_v8_0_ring_emit_ce_meta() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 1 | src | 804876285826908160 |
| PARAM_VALUE | 2 | count_dw | 4,10 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 1 | src | 40 |
| DATA_SOURCE | 0 | ring | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_ring_emit_de_meta() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 1 | src | 3155750744092585984 |
| PARAM_VALUE | 2 | count_dw | 17,27 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| BUF_SIZE | 1 | src | 108 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_ring_emit_ce_meta() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->gfx.mcbp | 1 |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 2 | count_dw | 10 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| DATA_SOURCE | 0 | ring | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_ring_emit_ce_meta() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->gfx.mcbp | 1 |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 1 | src | 4265186962945507328 |
| PARAM_VALUE | 2 | count_dw | 10 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 1 | src | 40 |
| DATA_SOURCE | 0 | ring | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_ring_emit_de_meta() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->gfx.mcbp | 1 |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count_dw | 27 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_ring_emit_de_meta() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->gfx.mcbp | 1 |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.ready | 1 |
| PARAM_VALUE | 1 | src | 4930025674763370496 |
| PARAM_VALUE | 2 | count_dw | 27 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,85680,87040 |
| BUF_SIZE | 1 | src | 108 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c mes_v11_0_submit_pkt_and_poll_completion() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count_dw | 64 |
| BUF_SIZE | 0 | ring | 20224 |
| BUF_SIZE | 0 | ring | 20224 |
| BUF_SIZE | 1 | src | 256 |
| BUF_SIZE | 1 | src | 256 |
| DATA_SOURCE | 1 | src | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c mes_v11_0_submit_pkt_and_poll_completion() -> amdgpu_ring_write_multiple()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 3143148517483687936 |
| PARAM_VALUE | 2 | count_dw | 64 |
| BUF_SIZE | 0 | ring | 20224 |
| BUF_SIZE | 0 | ring | 20224 |
| BUF_SIZE | 1 | src | 256 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &adev->mes.mutex_hidden | ||
| HALF_LOCKED2 | _T->lock |