Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/amdgpu/vce_v1_0.c, line 819
- drivers/gpu/drm/amd/amdgpu/vce_v2_0.c, line 657
- drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
- drivers/gpu/drm/amd/amdgpu/vce_v4_0.c, line 847
Smatch caller information:
19f4aff6129bc862 gfx_v9_0_reset_kcq() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |
19f4aff6129bc862 gfx_v9_0_reset_kcq() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| LOCK2 | &kiq->ring_lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
19f4aff6129bc862 gfx_v9_0_reset_kgq() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| LOCK2 | &kiq->ring_lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
19f4aff6129bc862 gfx_v9_0_reset_kgq() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 7179262252779036432 |
| 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.pause_submit | 1 |
| DATA_SOURCE | 0 | ring | $0 |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_reset_kcq() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_reset_kcq() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| LOCK2 | &kiq->ring_lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_reset_kcq() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 7179262252779036432 |
| PARAM_VALUE | 0 | ring->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->sched.pause_submit | 1 |
| PARAM_VALUE | 0 | ring->wptr | 0 |
| DATA_SOURCE | 0 | ring | $0 |
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/mes_v12_1.c mes_v12_1_kiq_enable_queue() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c amdgpu_ring_reset_helper_end() -> (struct amdgpu_ring_funcs)->test_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 |
| BUF_SIZE | 0 | ring | (-1),1360 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | ring->wptr | 0-u32max |
| HALF_LOCKED2 | &adev->jpeg.jpeg_pg_lock | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sdma_instance->engine_reset_mutex | ||
| HALF_LOCKED2 | &vinst->engine_reset_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c amdgpu_ring_test_helper() -> (struct amdgpu_ring_funcs)->test_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,2720,4080,13600 |
| BUF_SIZE | 0 | ring | (-1),1360,2720,4080,13600 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vinst->engine_reset_mutex | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/mes_v12_0.c mes_v12_0_kiq_enable_queue() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_reset_kcq() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| LOCK2 | &kiq->ring_lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_reset_kcq() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| LOCK2 | &kiq->ring_lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_reset_kgq() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| LOCK2 | &kiq->ring_lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_reset_kgq() -> (struct amdgpu_ring_funcs)->test_ring()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->ring | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| LOCK2 | &kiq->ring_lock | ||
| LOCK2 | flags | ||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_kiq)->ring_lock |