Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 29 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c, line 992
- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c, line 9052
- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c, line 5986
- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c, line 3149
- drivers/gpu/drm/amd/amdgpu/jpeg_v1_0.c, line 586
- drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c, line 830
- drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c
- drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c, line 603
- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0.c, line 787
- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_3.c, line 1265
- drivers/gpu/drm/amd/amdgpu/jpeg_v4_0_5.c, line 845
- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_0.c, line 721
- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_1.c, line 927
- drivers/gpu/drm/amd/amdgpu/jpeg_v5_0_2.c, line 671
- drivers/gpu/drm/amd/amdgpu/jpeg_v5_3_0.c, line 708
- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
- drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
- drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
- drivers/gpu/drm/amd/amdgpu/vce_v4_0.c, line 856
- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
- drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c
- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c
- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c, line 1819
- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c, line 1510
- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_0.c
- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c, line 1463
- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_2.c, line 1021
Smatch caller information:
19f4aff6129bc862 gfx_v9_0_ring_emit_reg_write_reg_wait() -> amdgpu_ring_emit_reg_write_reg_wait_helper()
| 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 | 3 | ref | 8126464-8323071,16252928-16515071,150470656-150667263 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| CAPPED_DATA | 3 | ref | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| DATA_SOURCE | 1 | reg0 | $1 |
| DATA_SOURCE | 2 | reg1 | $2 |
| DATA_SOURCE | 3 | ref | $3 |
| DATA_SOURCE | 4 | mask | $4 |
| BIT_INFO | 3 | ref | 0x780000,0xfffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_ring_emit_reg_write_reg_wait() -> amdgpu_ring_emit_reg_write_reg_wait_helper()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 3 | ref | 8126464-8323071,16252928-16515071,150470656-150667263 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| CAPPED_DATA | 3 | ref | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| DATA_SOURCE | 1 | reg0 | $1 |
| DATA_SOURCE | 2 | reg1 | $2 |
| DATA_SOURCE | 3 | ref | $3 |
| DATA_SOURCE | 4 | mask | $4 |
| BIT_INFO | 3 | ref | 0x780000,0xfffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_ring_emit_reg_write_reg_wait() -> amdgpu_ring_emit_reg_write_reg_wait_helper()
| 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 | 3 | ref | 8126464-8323071,16252928-16515071,150470656-150667263 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| CAPPED_DATA | 3 | ref | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| DATA_SOURCE | 1 | reg0 | $1 |
| DATA_SOURCE | 2 | reg1 | $2 |
| DATA_SOURCE | 3 | ref | $3 |
| DATA_SOURCE | 4 | mask | $4 |
| BIT_INFO | 3 | ref | 0x780000,0xfffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c gmc_v12_0_emit_flush_gpu_tlb() -> (struct amdgpu_ring_funcs)->emit_reg_write_reg_wait()
| 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->sched.ready | 1 |
| PARAM_VALUE | 3 | ref | 16252928-16515071,150470656-150667263 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| CAPPED_DATA | 3 | ref | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| BIT_INFO | 3 | ref | 0xf80000,0xfffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_fw_reg_write_reg_wait() -> (struct amdgpu_ring_funcs)->emit_reg_write_reg_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 3 | ref | 8126464-8323071,16252928-16515071,150470656-150667263 |
| BUF_SIZE | 0 | ring | 1264 |
| CAPPED_DATA | 3 | ref | 1 |
| DATA_SOURCE | 1 | reg0 | $1 |
| DATA_SOURCE | 2 | reg1 | $2 |
| DATA_SOURCE | 3 | ref | $3 |
| DATA_SOURCE | 4 | mask | $4 |
| BIT_INFO | 3 | ref | 0x780000,0xfffffff |
| 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/gmc_v10_0.c gmc_v10_0_emit_flush_gpu_tlb() -> (struct amdgpu_ring_funcs)->emit_reg_write_reg_wait()
| 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->sched.ready | 1 |
| PARAM_VALUE | 3 | ref | 16252928-16515071,150470656-150667263 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| CAPPED_DATA | 3 | ref | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| BIT_INFO | 3 | ref | 0xf80000,0xfffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_emit_flush_gpu_tlb() -> (struct amdgpu_ring_funcs)->emit_reg_write_reg_wait()
| 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->sched.ready | 1 |
| PARAM_VALUE | 3 | ref | 8126464-8191999 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| CAPPED_DATA | 3 | ref | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| DATA_SOURCE | 3 | ref | r gmc_v9_0_get_invalidate_req |
| BIT_INFO | 3 | ref | 0x7c0000,0x7fffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c gmc_v11_0_emit_flush_gpu_tlb() -> (struct amdgpu_ring_funcs)->emit_reg_write_reg_wait()
| 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->sched.ready | 1 |
| PARAM_VALUE | 3 | ref | 16252928-16515071,150470656-150667263 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| CAPPED_DATA | 3 | ref | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| BIT_INFO | 3 | ref | 0xf80000,0xfffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c gmc_v12_1_emit_flush_gpu_tlb() -> (struct amdgpu_ring_funcs)->emit_reg_write_reg_wait()
| 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->sched.ready | 1 |
| PARAM_VALUE | 3 | ref | 16252928-16515071,150470656-150667263 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,87040 |
| CAPPED_DATA | 3 | ref | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| BIT_INFO | 3 | ref | 0xf80000,0xfffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dqm->lock_hidden |