Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c, line 889
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c, line 3965
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu8_hwmgr.c, line 1393
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu7_hwmgr.c smu7_get_pp_table_entry_v0() -> pp_tables_get_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->current_ps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->backend_init | 298865806522781696,2268852976927596544,4613790147379523584,6986837916581347328,7167594031292080128,8267523205528322048 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_num_of_pp_table_entries | 4287944391702466560,6657887791065190400,7441027435768991744,8747080454393221120 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_power_state_size | 4432388103156637696,6064772458629373952,6655796427560194048,7650455751667814400 |
| PARAM_VALUE | 0 | hwmgr->num_ps | 1-255 |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| PARAM_VALUE | 0 | hwmgr->pp_table_version | 0 |
| PARAM_VALUE | 0 | hwmgr->pptable_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable_func->pptable_init | 1520901707310510080,3822322643030208512,4309642798966882304,4627094066790367232,9086924483460136960 |
| PARAM_VALUE | 0 | hwmgr->ps | 16,4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->ps_size | 1-4000000 |
| PARAM_VALUE | 0 | hwmgr->request_ps | 4096-ptr_max |
| PARAM_VALUE | 1 | entry_index | 0-254 |
| PARAM_VALUE | 2 | ps | 4096-ptr_max |
| PARAM_VALUE | 2 | ps->hardware.magic | 538116871 |
| PARAM_VALUE | 3 | func | 1263321309745827840 |
| 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 |
| BUF_SIZE | 2 | ps | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | ps | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | entry_index | 1 |
| CAPPED_DATA | 1 | entry_index | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| DATA_SOURCE | 1 | entry_index | $1 |
| DATA_SOURCE | 2 | ps | $2 |
| BIT_INFO | 0 | hwmgr->ps_size | 0x0,0x7fffffff |
| MEM_ZERO | 2 | &ps->hardware | |
| 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 | |
| NO_OVERFLOW_SIMPLE | 1 | entry_index | |
| NO_OVERFLOW_SIMPLE | 2 | ps->classification.bios_index | |
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu10_hwmgr.c smu10_dpm_get_pp_table_entry() -> pp_tables_get_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->current_ps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->backend_init | 298865806522781696,2268852976927596544,4613790147379523584,6986837916581347328,7167594031292080128,8267523205528322048 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_num_of_pp_table_entries | 4287944391702466560,6657887791065190400,7441027435768991744,8747080454393221120 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_power_state_size | 4432388103156637696,6064772458629373952,6655796427560194048,7650455751667814400 |
| PARAM_VALUE | 0 | hwmgr->num_ps | 1-255 |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable_func->pptable_init | 1520901707310510080,3822322643030208512,4309642798966882304,4627094066790367232,9086924483460136960 |
| PARAM_VALUE | 0 | hwmgr->ps | 16,4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->ps_size | 1-4000000 |
| PARAM_VALUE | 0 | hwmgr->request_ps | 4096-ptr_max |
| PARAM_VALUE | 1 | entry_index | 0-254 |
| PARAM_VALUE | 2 | ps | 4096-ptr_max |
| PARAM_VALUE | 2 | ps->hardware.magic | 538317089 |
| PARAM_VALUE | 3 | func | 3582261614259478528 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| 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 |
| BUF_SIZE | 2 | ps | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | ps | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | entry_index | 1 |
| CAPPED_DATA | 1 | entry_index | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| DATA_SOURCE | 1 | entry_index | $1 |
| DATA_SOURCE | 2 | ps | $2 |
| 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 | |
| NO_OVERFLOW_SIMPLE | 1 | entry_index | |
| NO_OVERFLOW_SIMPLE | 2 | ps->classification.bios_index | |
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/smu8_hwmgr.c smu8_dpm_get_pp_table_entry() -> pp_tables_get_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->current_ps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->backend_init | 298865806522781696,2268852976927596544,4613790147379523584,6986837916581347328,7167594031292080128,8267523205528322048 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_num_of_pp_table_entries | 4287944391702466560,6657887791065190400,7441027435768991744,8747080454393221120 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_power_state_size | 4432388103156637696,6064772458629373952,6655796427560194048,7650455751667814400 |
| PARAM_VALUE | 0 | hwmgr->num_ps | 1-255 |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable_func->pptable_init | 1520901707310510080,3822322643030208512,4309642798966882304,4627094066790367232,9086924483460136960 |
| PARAM_VALUE | 0 | hwmgr->ps | 16,4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->ps_size | 1-4000000 |
| PARAM_VALUE | 0 | hwmgr->request_ps | 4096-ptr_max |
| PARAM_VALUE | 1 | entry_index | 0-254 |
| PARAM_VALUE | 2 | ps | 4096-ptr_max |
| PARAM_VALUE | 2 | ps->hardware.magic | 1742518821 |
| PARAM_VALUE | 3 | func | 4473527833356324864 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| 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 |
| BUF_SIZE | 2 | ps | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | ps | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | entry_index | 1 |
| CAPPED_DATA | 1 | entry_index | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| DATA_SOURCE | 1 | entry_index | $1 |
| DATA_SOURCE | 2 | ps | $2 |
| 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 | |
| NO_OVERFLOW_SIMPLE | 1 | entry_index | |
| NO_OVERFLOW_SIMPLE | 2 | ps->classification.bios_index | |
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex |