Defined in 9 files as a function:
- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c, line 4485 (as a function)
- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c, line 1002 (as a function)
- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c, line 831 (as a function)
- drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c, line 762 (as a function)
- drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c, line 3018 (as a function)
- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c, line 4009 (as a function)
- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c, line 5074 (as a function)
- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c, line 1940 (as a function)
- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c, line 725 (as a function)
Referenced in 9 files:
- 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_v6_0.c, line 3062
- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c, line 4053
- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c, line 5118
- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
Smatch caller information:
19f4aff6129bc862 gfx_v9_0_read_wave_sgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_sgprs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 3 | thread | 0 |
| PARAM_VALUE | 4 | regno | 512-1000000512 |
| PARAM_VALUE | 5 | num | 0-1024 |
| PARAM_VALUE | 6 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 6 | out | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $2 |
| DATA_SOURCE | 2 | wave | $3 |
| DATA_SOURCE | 5 | num | $5 |
| DATA_SOURCE | 6 | out | $6 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | simd | 0[c] |
| USER_DATA | 2 | wave | 0[c] |
| USER_DATA | 4 | regno | 512-1000000512[c] |
| USER_DATA | 5 | num | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
19f4aff6129bc862 gfx_v9_0_read_wave_vgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_vgprs | 1346110601583833088,1590192135530684416,3994440471376355328,5421360989388681216,6537279568104165376,8730423931741921280 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 4 | regno | 1024-1000001024 |
| PARAM_VALUE | 5 | num | 0-1024 |
| PARAM_VALUE | 6 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 6 | out | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $2 |
| DATA_SOURCE | 2 | wave | $3 |
| DATA_SOURCE | 3 | thread | $4 |
| DATA_SOURCE | 5 | num | $6 |
| DATA_SOURCE | 6 | out | $7 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | simd | 0[c] |
| USER_DATA | 2 | wave | 0[c] |
| USER_DATA | 3 | thread | 0[c] |
| USER_DATA | 4 | regno | 1024-1000001024[c] |
| USER_DATA | 5 | num | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_read_wave_sgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_sgprs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 4 | regno | 0 |
| PARAM_VALUE | 5 | num | 512-1000000512 |
| PARAM_VALUE | 6 | out | 0-1024 |
| PARAM_VALUE | 7 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 7 | out | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $1 |
| DATA_SOURCE | 2 | wave | $2 |
| DATA_SOURCE | 3 | thread | $3 |
| DATA_SOURCE | 6 | out | $5 |
| DATA_SOURCE | 7 | out | $6 |
| NOCHECK_CALL | |||
| USER_DATA | 2 | wave | 0[c] |
| USER_DATA | 3 | thread | 0[c] |
| USER_DATA | 5 | num | 512-1000000512[c] |
| USER_DATA | 6 | out | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_read_wave_vgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_vgprs | 1346110601583833088,1590192135530684416,3994440471376355328,5421360989388681216,6537279568104165376,8730423931741921280 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 5 | num | 1024-1000001024 |
| PARAM_VALUE | 6 | out | 0-1024 |
| PARAM_VALUE | 7 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 7 | out | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $1 |
| DATA_SOURCE | 2 | wave | $2 |
| DATA_SOURCE | 3 | thread | $3 |
| DATA_SOURCE | 4 | regno | $4 |
| DATA_SOURCE | 6 | out | $6 |
| DATA_SOURCE | 7 | out | $7 |
| NOCHECK_CALL | |||
| USER_DATA | 2 | wave | 0[c] |
| USER_DATA | 3 | thread | 0[c] |
| USER_DATA | 4 | regno | 0[c] |
| USER_DATA | 5 | num | 1024-1000001024[c] |
| USER_DATA | 6 | out | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
2424e8ec9bf51854 gfx_v12_0_read_wave_sgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_sgprs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | wave | 0 |
| PARAM_VALUE | 3 | thread | 512-1000000512 |
| PARAM_VALUE | 4 | regno | 0-1024 |
| PARAM_VALUE | 5 | num | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 5 | num | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $3 |
| DATA_SOURCE | 4 | regno | $5 |
| DATA_SOURCE | 5 | num | $6 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | simd | 0[c] |
| USER_DATA | 3 | thread | 512-1000000512[c] |
| USER_DATA | 4 | regno | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
2424e8ec9bf51854 gfx_v12_0_read_wave_vgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_vgprs | 1346110601583833088,1590192135530684416,3994440471376355328,5421360989388681216,6537279568104165376,8730423931741921280 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 3 | thread | 1024-1000001024 |
| PARAM_VALUE | 4 | regno | 0-1024 |
| PARAM_VALUE | 5 | num | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 5 | num | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $3 |
| DATA_SOURCE | 2 | wave | $4 |
| DATA_SOURCE | 4 | regno | $6 |
| DATA_SOURCE | 5 | num | $7 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | simd | 0[c] |
| USER_DATA | 2 | wave | 0[c] |
| USER_DATA | 3 | thread | 1024-1000001024[c] |
| USER_DATA | 4 | regno | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
28ad57647bf6154f gfx_v11_0_read_wave_sgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_sgprs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | wave | 0 |
| PARAM_VALUE | 3 | thread | 512-1000000512 |
| PARAM_VALUE | 4 | regno | 0-1024 |
| PARAM_VALUE | 5 | num | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 5 | num | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $3 |
| DATA_SOURCE | 4 | regno | $5 |
| DATA_SOURCE | 5 | num | $6 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | simd | 0[c] |
| USER_DATA | 3 | thread | 512-1000000512[c] |
| USER_DATA | 4 | regno | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
28ad57647bf6154f gfx_v11_0_read_wave_vgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_vgprs | 1346110601583833088,1590192135530684416,3994440471376355328,5421360989388681216,6537279568104165376,8730423931741921280 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 3 | thread | 1024-1000001024 |
| PARAM_VALUE | 4 | regno | 0-1024 |
| PARAM_VALUE | 5 | num | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 5 | num | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $3 |
| DATA_SOURCE | 2 | wave | $4 |
| DATA_SOURCE | 4 | regno | $6 |
| DATA_SOURCE | 5 | num | $7 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | simd | 0[c] |
| USER_DATA | 2 | wave | 0[c] |
| USER_DATA | 3 | thread | 1024-1000001024[c] |
| USER_DATA | 4 | regno | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_read_wave_sgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_sgprs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 3 | thread | 0 |
| PARAM_VALUE | 4 | regno | 512-1000000512 |
| PARAM_VALUE | 5 | num | 0-1024 |
| PARAM_VALUE | 6 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 6 | out | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $2 |
| DATA_SOURCE | 2 | wave | $3 |
| DATA_SOURCE | 5 | num | $5 |
| DATA_SOURCE | 6 | out | $6 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | simd | 0[c] |
| USER_DATA | 2 | wave | 0[c] |
| USER_DATA | 4 | regno | 512-1000000512[c] |
| USER_DATA | 5 | num | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
3d756af95eb3bd31 gfx_v12_1_read_wave_sgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_sgprs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 3 | thread | 0 |
| PARAM_VALUE | 4 | regno | 512-1000000512 |
| PARAM_VALUE | 5 | num | 0-1024 |
| PARAM_VALUE | 6 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 6 | out | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $1 |
| DATA_SOURCE | 2 | wave | $3 |
| DATA_SOURCE | 5 | num | $5 |
| DATA_SOURCE | 6 | out | $6 |
| NOCHECK_CALL | |||
| USER_DATA | 2 | wave | 0[c] |
| USER_DATA | 4 | regno | 512-1000000512[c] |
| USER_DATA | 5 | num | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
3d756af95eb3bd31 gfx_v12_1_read_wave_vgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_vgprs | 1346110601583833088,1590192135530684416,3994440471376355328,5421360989388681216,6537279568104165376,8730423931741921280 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 4 | regno | 1024-1000001024 |
| PARAM_VALUE | 5 | num | 0-1024 |
| PARAM_VALUE | 6 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 6 | out | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $1 |
| DATA_SOURCE | 2 | wave | $3 |
| DATA_SOURCE | 3 | thread | $4 |
| DATA_SOURCE | 5 | num | $6 |
| DATA_SOURCE | 6 | out | $7 |
| NOCHECK_CALL | |||
| USER_DATA | 2 | wave | 0[c] |
| USER_DATA | 3 | thread | 0[c] |
| USER_DATA | 4 | regno | 1024-1000001024[c] |
| USER_DATA | 5 | num | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_read_wave_sgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_sgprs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 3 | thread | 0 |
| PARAM_VALUE | 4 | regno | 512-1000000512 |
| PARAM_VALUE | 5 | num | 0-1024 |
| PARAM_VALUE | 6 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 6 | out | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $2 |
| DATA_SOURCE | 2 | wave | $3 |
| DATA_SOURCE | 5 | num | $5 |
| DATA_SOURCE | 6 | out | $6 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | simd | 0[c] |
| USER_DATA | 2 | wave | 0[c] |
| USER_DATA | 4 | regno | 512-1000000512[c] |
| USER_DATA | 5 | num | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_read_wave_sgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_sgprs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | wave | 0 |
| PARAM_VALUE | 3 | thread | 512-1000000512 |
| PARAM_VALUE | 4 | regno | 0-1024 |
| PARAM_VALUE | 5 | num | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 5 | num | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $3 |
| DATA_SOURCE | 4 | regno | $5 |
| DATA_SOURCE | 5 | num | $6 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | simd | 0[c] |
| USER_DATA | 3 | thread | 512-1000000512[c] |
| USER_DATA | 4 | regno | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_read_wave_vgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_vgprs | 1346110601583833088,1590192135530684416,3994440471376355328,5421360989388681216,6537279568104165376,8730423931741921280 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 3 | thread | 1024-1000001024 |
| PARAM_VALUE | 4 | regno | 0-1024 |
| PARAM_VALUE | 5 | num | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 5 | num | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $3 |
| DATA_SOURCE | 2 | wave | $4 |
| DATA_SOURCE | 4 | regno | $6 |
| DATA_SOURCE | 5 | num | $7 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | simd | 0[c] |
| USER_DATA | 2 | wave | 0[c] |
| USER_DATA | 3 | thread | 1024-1000001024[c] |
| USER_DATA | 4 | regno | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_read_wave_sgprs() -> wave_read_regs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->read_wave_sgprs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 3 | thread | 0 |
| PARAM_VALUE | 4 | regno | 512-1000000512 |
| PARAM_VALUE | 5 | num | 0-1024 |
| PARAM_VALUE | 6 | out | 16,4096-ptr_max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | adev | s32min-(-1),1-s32max |
| BUF_SIZE | 6 | out | 4 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | simd | $2 |
| DATA_SOURCE | 2 | wave | $3 |
| DATA_SOURCE | 5 | num | $5 |
| DATA_SOURCE | 6 | out | $6 |
| NOCHECK_CALL | |||
| USER_DATA | 1 | simd | 0[c] |
| USER_DATA | 2 | wave | 0[c] |
| USER_DATA | 4 | regno | 512-1000000512[c] |
| USER_DATA | 5 | num | 0-1024[c] |
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex |