Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c, line 1044
- drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c, line 1067
- drivers/gpu/drm/amd/pm/powerplay/smumgr/tonga_smumgr.c, line 810
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/iceland_smumgr.c iceland_calculate_mclk_params() -> atomctrl_get_memory_pll_dividers_si()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->backend | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->backend->need_update_smu7_dpm_table | 0-4294967295 |
| PARAM_VALUE | 0 | hwmgr->display_config | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->dyn_state.acp_clock_voltage_dependency_table->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vdd_gfx_dependency_on_sclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddc_dependency_on_mclk->count | 1-u32max |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddc_dependency_on_sclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddci_dependency_on_mclk->count | 1-u32max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->apply_state_adjust_rules | 0,3621754790451118080,4846802892409925632,6527931433430638592,8609074455165775872 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->backend_init | 298865806522781696,2268852976927596544,4613790147379523584,6986837916581347328,7167594031292080128,8267523205528322048 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->check_states_equal | 0,1278940444229279744,8160345853938163712 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->disable_smc_firmware_ctf | 0,320402144971874304,4235145329258029056,5340594925240430592,8565130193669922816 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->dynamic_state_management_enable | 1948303631802679296,2499636406085509120,5884749922054205440,7056320478313332736,7830165595222523904,8232248291769012224 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_num_of_pp_table_entries | 0,4287944391702466560,6657887791065190400,7441027435768991744,8747080454393221120 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_power_state_size | 0,4432388103156637696,6064772458629373952,6655796427560194048,7650455751667814400 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->power_state_set | 0,2133207948760264704,5834734302683639808,6703590888639741952,8265213932899078144 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->set_cpu_power_state | 0,5856536315792371712,9134132896884461568 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->stop_thermal_controller | 0,1506093590029230080,3693573413439086592,5406745503785533440,5881162152740569088 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable_func->pptable_init | 1520901707310510080,3822322643030208512,4309642798966882304,4627094066790367232,9086924483460136960 |
| PARAM_VALUE | 0 | hwmgr->smu_backend | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->init_smc_table | 0,2263247745667743744,2442075456761344000,2567760880791375872,3327025976937795584,7194365937537196032,7922679047387136000 |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->initialize_mc_reg_table | 0,1547742608244539392,5296938838159331328,6373260969336365056,6813339989315473408,6881595625574612992 |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->is_dpm_running | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->populate_all_graphic_levels | 0,1342659546856378368,2810308295633297408,4578303506712002560,5749654951643373568,6425997491624054784,8524758741288955904 |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->populate_all_memory_levels | 0,2255817984216195072,3146157505423319040,4910895057439354880,5373417275991633920,5600069224676499456,7660171168860049408 |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->process_firmware_header | 0,1073430395799977984,1692874375929577472,3134302156645031936,3237720534564622336,6002882814709153792,6558504298699870208 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | clock_value | 1-u32max |
| PARAM_VALUE | 2 | mpll_param | 7926268099843878912 |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| CAPPED_DATA | 1 | clock_value | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| DATA_SOURCE | 1 | clock_value | $1 |
| DATA_SOURCE | 3 | strobe_mode | $3 |
| 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/smumgr/tonga_smumgr.c tonga_calculate_mclk_params() -> atomctrl_get_memory_pll_dividers_si()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->backend | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->backend->need_update_smu7_dpm_table | 0-4294967295 |
| PARAM_VALUE | 0 | hwmgr->device | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->device->adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | hwmgr->device->adev->mes.mutex_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwmgr->device->adev->mes.mutex_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hwmgr->device->adev->mes.mutex_hidden.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | hwmgr->device->adev->mes.mutex_hidden.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | hwmgr->device->adev->mes.saved_flags | 0-4294967295 |
| PARAM_VALUE | 0 | hwmgr->device->adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hwmgr->device->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | hwmgr->device->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | hwmgr->display_config | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->dyn_state.acp_clock_voltage_dependency_table->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vdd_gfx_dependency_on_sclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddc_dependency_on_sclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->apply_state_adjust_rules | 0,3621754790451118080,4846802892409925632,6527931433430638592,8609074455165775872 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->backend_init | 298865806522781696,2268852976927596544,4613790147379523584,6986837916581347328,7167594031292080128,8267523205528322048 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->check_states_equal | 0,1278940444229279744,8160345853938163712 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->disable_smc_firmware_ctf | 0,320402144971874304,4235145329258029056,5340594925240430592,8565130193669922816 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->dynamic_state_management_enable | 1948303631802679296,2499636406085509120,5884749922054205440,7056320478313332736,7830165595222523904,8232248291769012224 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_num_of_pp_table_entries | 0,4287944391702466560,6657887791065190400,7441027435768991744,8747080454393221120 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_power_state_size | 0,4432388103156637696,6064772458629373952,6655796427560194048,7650455751667814400 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->power_state_set | 0,2133207948760264704,5834734302683639808,6703590888639741952,8265213932899078144 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->set_cpu_power_state | 0,5856536315792371712,9134132896884461568 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->stop_thermal_controller | 0,1506093590029230080,3693573413439086592,5406745503785533440,5881162152740569088 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable_func->pptable_init | 1520901707310510080,3822322643030208512,4309642798966882304,4627094066790367232,9086924483460136960 |
| PARAM_VALUE | 0 | hwmgr->smu_backend | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->init_smc_table | 0,2263247745667743744,2442075456761344000,2567760880791375872,3327025976937795584,7194365937537196032,7922679047387136000 |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->initialize_mc_reg_table | 0,1547742608244539392,5296938838159331328,6373260969336365056,6813339989315473408,6881595625574612992 |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->is_dpm_running | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->populate_all_graphic_levels | 0,1342659546856378368,2810308295633297408,4578303506712002560,5749654951643373568,6425997491624054784,8524758741288955904 |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->populate_all_memory_levels | 0,2255817984216195072,3146157505423319040,4910895057439354880,5373417275991633920,5600069224676499456,7660171168860049408 |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->process_firmware_header | 0,1073430395799977984,1692874375929577472,3134302156645031936,3237720534564622336,6002882814709153792,6558504298699870208 |
| PARAM_VALUE | 0 | *hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | clock_value | 1-u32max |
| PARAM_VALUE | 2 | mpll_param | 843401409786077184 |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| CAPPED_DATA | 1 | clock_value | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| DATA_SOURCE | 1 | clock_value | $1 |
| DATA_SOURCE | 3 | strobe_mode | $3 |
| FUZZY_MAX | 1 | clock_value | 30001 |
| 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/smumgr/ci_smumgr.c ci_calculate_mclk_params() -> atomctrl_get_memory_pll_dividers_si()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->backend | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->backend->need_update_smu7_dpm_table | 0-4294967295 |
| PARAM_VALUE | 0 | hwmgr->display_config | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->dyn_state.acp_clock_voltage_dependency_table->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.mvdd_dependency_on_mclk->count | 1-u32max |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vdd_gfx_dependency_on_sclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddc_dependency_on_mclk->count | 1-u32max |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddc_dependency_on_sclk->count | 0-255 |
| PARAM_VALUE | 0 | hwmgr->dyn_state.vddci_dependency_on_mclk->count | 1-u32max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->apply_state_adjust_rules | 0,3621754790451118080,4846802892409925632,6527931433430638592,8609074455165775872 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->backend_init | 298865806522781696,2268852976927596544,4613790147379523584,6986837916581347328,7167594031292080128,8267523205528322048 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->check_states_equal | 0,1278940444229279744,8160345853938163712 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->disable_smc_firmware_ctf | 0,320402144971874304,4235145329258029056,5340594925240430592,8565130193669922816 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->dynamic_state_management_enable | 1948303631802679296,2499636406085509120,5884749922054205440,7056320478313332736,7830165595222523904,8232248291769012224 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_num_of_pp_table_entries | 0,4287944391702466560,6657887791065190400,7441027435768991744,8747080454393221120 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_power_state_size | 0,4432388103156637696,6064772458629373952,6655796427560194048,7650455751667814400 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->power_state_set | 0,2133207948760264704,5834734302683639808,6703590888639741952,8265213932899078144 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->set_cpu_power_state | 0,5856536315792371712,9134132896884461568 |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->stop_thermal_controller | 0,1506093590029230080,3693573413439086592,5406745503785533440,5881162152740569088 |
| PARAM_VALUE | 0 | hwmgr->platform_descriptor.platformCaps | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->pptable_func->pptable_init | 1520901707310510080,3822322643030208512,4309642798966882304,4627094066790367232,9086924483460136960 |
| PARAM_VALUE | 0 | hwmgr->smu_backend | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->init_smc_table | 0,2263247745667743744,2442075456761344000,2567760880791375872,3327025976937795584,7194365937537196032,7922679047387136000 |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->initialize_mc_reg_table | 0,1547742608244539392,5296938838159331328,6373260969336365056,6813339989315473408,6881595625574612992 |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->is_dpm_running | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->populate_all_graphic_levels | 0,1342659546856378368,2810308295633297408,4578303506712002560,5749654951643373568,6425997491624054784,8524758741288955904 |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->populate_all_memory_levels | 0,2255817984216195072,3146157505423319040,4910895057439354880,5373417275991633920,5600069224676499456,7660171168860049408 |
| PARAM_VALUE | 0 | hwmgr->smumgr_funcs->process_firmware_header | 0,1073430395799977984,1692874375929577472,3134302156645031936,3237720534564622336,6002882814709153792,6558504298699870208 |
| PARAM_VALUE | 0 | *hwmgr->platform_descriptor.platformCaps | 0-4294967295 |
| PARAM_VALUE | 1 | clock_value | 1-u32max |
| PARAM_VALUE | 2 | mpll_param | 6606809458755796992 |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| BUF_SIZE | 0 | hwmgr | (-1),1-u16max |
| CAPPED_DATA | 1 | clock_value | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| DATA_SOURCE | 1 | clock_value | $1 |
| DATA_SOURCE | 3 | strobe_mode | $3 |
| 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 |