Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c, line 311
- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c, line 1922
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c amdgpu_cper_generate_bp_threshold_record() -> amdgpu_cper_ring_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| BUF_SIZE | 0 | ring | 1264 |
| BUF_SIZE | 1 | src | 384,416,480 |
| DATA_SOURCE | 1 | src | r amdgpu_cper_alloc_entry |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &control->ras_tbl_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c amdgpu_virt_write_cpers_to_ring() -> amdgpu_cper_ring_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 136-65504 |
| BUF_SIZE | 0 | ring | 1264 |
| BUF_SIZE | 1 | src | (-1)-65504 |
| CAPPED_DATA | 2 | count | 1 |
| NOCHECK_CALL | |||
| UNITS | 1 | src | unit_byte |
| UNITS | 2 | count | unit_byte |
| LOCK2 | &adev->reset_domain->sem | ||
| LOCK2 | &virt->ras.ras_telemetry_mutex | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem | ||
| TYPE_LOCK | (struct amdgpu_virt_ras)->ras_telemetry_mutex |