Defined in 5 files as a function:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c, line 134 (as a function)
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c, line 856 (as a function)
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c, line 46 (as a function)
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_processpptables.c, line 43 (as a function)
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_processpptables.c, line 45 (as a function)
Referenced in 5 files:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_processpptables.c
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_processpptables.c, line 350
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega20_processpptables.c vega20_pp_tables_initialize() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr->pptable | 64 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c get_number_of_powerplay_table_entries_v1_0() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c get_powerplay_table_entry_v1_0() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->soft_pp_table_size | 0-u16max |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr->boot_ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->current_ps | 1-4000000 |
| BUF_SIZE | 0 | hwmgr->ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->request_ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->uvd_ps | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hwmgr | $0 |
| BIT_INFO | 0 | hwmgr->ps_size | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index | |
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c pp_tables_v1_0_initialize() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr->pptable | 192 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c ppt_get_num_of_vce_state_table_entries_v1_0() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->soft_pp_table_size | 0-u16max |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr->boot_ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->current_ps | 1-4000000 |
| BUF_SIZE | 0 | hwmgr->ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->request_ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->uvd_ps | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hwmgr | $0 |
| BIT_INFO | 0 | hwmgr->ps_size | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index | |
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c ppt_get_vce_state_table_entry_v1_0() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->soft_pp_table_size | 0-u16max |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr->boot_ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->current_ps | 1-4000000 |
| BUF_SIZE | 0 | hwmgr->ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->request_ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->uvd_ps | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hwmgr | $0 |
| BIT_INFO | 0 | hwmgr->ps_size | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index | |
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/processpptables.c get_number_of_vce_state_table_entries() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | hwmgr | $0 |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/processpptables.c get_vce_state_table_entry() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | hwmgr | $0 |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/processpptables.c pp_tables_get_entry() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr->boot_ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->current_ps | 1-4000000 |
| BUF_SIZE | 0 | hwmgr->ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->request_ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->uvd_ps | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hwmgr | $0 |
| BIT_INFO | 0 | hwmgr->ps_size | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index | |
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/processpptables.c pp_tables_get_num_of_entries() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/processpptables.c pp_tables_get_response_times() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| CAPPED_DATA | 0 | hwmgr->dyn_state.mvdd_dependency_on_mclk->count | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hwmgr->microcode_version_info.MC | 0-u32max |
| HOST_DATA | 0 | hwmgr->microcode_version_info.SMC | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/processpptables.c pp_tables_initialize() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->chip_id | 0-21,23-u32max |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c vega10_baco_set_cap() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3984 |
| BUF_SIZE | 0 | hwmgr->hwmgr_func | 736 |
| BUF_SIZE | 0 | hwmgr->pptable_func | 32 |
| BUF_SIZE | 0 | hwmgr->smumgr_funcs | 224 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| BIT_INFO | 0 | hwmgr->feature_mask | 0x0,0xffff7fff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c vega10_get_number_of_powerplay_table_entries() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c vega10_get_powerplay_table_entry() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr | 1256,3968 |
| BUF_SIZE | 0 | hwmgr->boot_ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->current_ps | 1-4000000 |
| BUF_SIZE | 0 | hwmgr->ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->request_ps | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | hwmgr->uvd_ps | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | hwmgr | $0 |
| BIT_INFO | 0 | hwmgr->ps_size | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->boot_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->current_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->request_ps->classification.bios_index | |
| NO_OVERFLOW_SIMPLE | 0 | hwmgr->uvd_ps->classification.bios_index | |
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c vega10_pp_tables_initialize() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr->pptable | 232 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega12_processpptables.c vega12_pp_tables_initialize() -> get_powerplay_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr->pptable | 64 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |