Defined in 2 files as a function:
- drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c, line 6130 (as a function)
- drivers/gpu/drm/radeon/si_dpm.c, line 5546 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/radeon/si_dpm.c si_convert_mc_reg_table_entry_to_smc() -> si_convert_mc_registers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| BUF_SIZE | 1 | data | (-1),1152,1280 |
| BUF_SIZE | 1 | data | (-1),1152,1280 |
| DATA_SOURCE | 1 | data | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rdev->pm.mutex | ||
| TYPE_LOCK | (struct radeon_pm)->mutex |
drivers/gpu/drm/radeon/si_dpm.c si_populate_mc_reg_table() -> si_convert_mc_registers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| BUF_SIZE | 0 | entry | 1088 |
| BUF_SIZE | 1 | data | 1216 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rdev->pm.mutex | ||
| TYPE_LOCK | (struct radeon_pm)->mutex |
drivers/gpu/drm/radeon/si_dpm.c si_populate_mc_reg_table() -> si_convert_mc_registers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| BUF_SIZE | 0 | entry | 1088 |
| BUF_SIZE | 1 | data | 1152 |
| CAPPED_DATA | 2 | num_entries | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rdev->pm.mutex | ||
| TYPE_LOCK | (struct radeon_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_convert_mc_reg_table_entry_to_smc() -> si_convert_mc_registers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| BUF_SIZE | 1 | data | (-1),1152,1280 |
| BUF_SIZE | 1 | data | (-1),1152,1280 |
| DATA_SOURCE | 1 | data | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_populate_mc_reg_table() -> si_convert_mc_registers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| BUF_SIZE | 0 | entry | 1088 |
| BUF_SIZE | 1 | data | 1216 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_populate_mc_reg_table() -> si_convert_mc_registers()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | entry | 4096-ptr_max |
| BUF_SIZE | 0 | entry | 1088 |
| BUF_SIZE | 1 | data | 1152 |
| CAPPED_DATA | 2 | num_entries | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |