Defined in 3 files as a function:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/process_pptables_v1_0.c, line 692 (as a function)
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/processpptables.c, line 421 (as a function)
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c, line 1257 (as a function)
Referenced in 3 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
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/process_pptables_v1_0.c init_clock_voltage_dependency() -> get_valid_clk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 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->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable | 4096-ptr_max |
| 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->soft_pp_table_size | 80-u16max |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution | 0-15 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | clk_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table->count | 1-255 |
| 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 init_clock_voltage_dependency() -> get_valid_clk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 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->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable | 4096-ptr_max |
| 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->soft_pp_table_size | 80-u16max |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution | 0-15 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | clk_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table->count | 1-255 |
| 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/processpptables.c init_clock_voltage_dependency() -> get_valid_clk()
| 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 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.acp_clock_voltage_dependency_table->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.ppm_parameter_table | 0 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddc_dependency_on_mclk | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddc_dependency_on_mclk->count | 1-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddc_dependency_on_sclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddci_dependency_on_mclk->count | 0-255 |
| 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->need_pp_table_upload | 1 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.maxOverdriveVDDC | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.minOverdriveVDDC | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.platformCaps | 4096-ptr_max |
| 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->soft_pp_table_size | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution | 0-15 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | clk_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table->count | 1-255 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| CAPPED_DATA | 0 | hwmgr->soft_pp_table_size | 1 |
| 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 init_clock_voltage_dependency() -> get_valid_clk()
| 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 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.acp_clock_voltage_dependency_table->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.ppm_parameter_table | 0 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.valid_mclk_values->count | 0-4294967295 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddc_dependency_on_mclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddc_dependency_on_sclk | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddc_dependency_on_sclk->count | 1-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddci_dependency_on_mclk->count | 0-255 |
| 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->need_pp_table_upload | 1 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.maxOverdriveVDDC | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.minOverdriveVDDC | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.platformCaps | 4096-ptr_max |
| 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->soft_pp_table_size | 0-u16max |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution | 0-15 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | clk_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table->count | 1-255 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3968,3984 |
| CAPPED_DATA | 0 | hwmgr->soft_pp_table_size | 1 |
| 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 init_powerplay_extended_tables() -> get_valid_clk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 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->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable | 4096-ptr_max |
| 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->soft_pp_table_size | 92-u16max |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.advanceFanControlParameters.ulCycleDelay | 100000 |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution | 0-15 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | clk_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table->count | 1-255 |
| 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/vega10_processpptables.c init_powerplay_extended_tables() -> get_valid_clk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 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->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable | 4096-ptr_max |
| 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->soft_pp_table_size | 92-u16max |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.advanceFanControlParameters.ulCycleDelay | 100000 |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution | 0-15 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | clk_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table->count | 1-255 |
| 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/vega10_processpptables.c init_powerplay_extended_tables() -> get_valid_clk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 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->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable | 4096-ptr_max |
| 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->soft_pp_table_size | 92-u16max |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.advanceFanControlParameters.ulCycleDelay | 100000 |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution | 0-15 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | clk_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table->count | 1-255 |
| 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/vega10_processpptables.c init_powerplay_extended_tables() -> get_valid_clk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 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->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| PARAM_VALUE | 0 | hwmgr->pptable | 4096-ptr_max |
| 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->soft_pp_table_size | 92-u16max |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.advanceFanControlParameters.ulCycleDelay | 100000 |
| PARAM_VALUE | 0 | hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution | 0-15 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | clk_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table | 4096-ptr_max |
| PARAM_VALUE | 2 | clk_volt_pp_table->count | 1-255 |
| 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 |