Defined in 3 files as a function:
- drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c, line 2629 (as a function)
- drivers/gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c, line 237 (as a function)
- drivers/gpu/drm/amd/display/dc/dml2_0/dml2_policy.c, line 108 (as a function)
Referenced in 3 files:
- drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
- drivers/gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c
- drivers/gpu/drm/amd/display/dc/dml2_0/dml2_policy.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/dcn32_fpu.c build_synthetic_soc_states() -> remove_entry_from_table_at_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->dcfclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dispclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dppclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dram_bw_per_chan_gbps | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dram_speed_mts | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dscclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dtbclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->fabricclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->net_bw_in_kbytes_sec | -9223372036854775808.000000-9223372036854775808.000000 |
| PARAM_VALUE | 0 | table->phyclk_d18_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->phyclk_d32_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->phyclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->socclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | index | 7622922608937734528 |
| PARAM_VALUE | 1 | *index | 0-1,3-5 |
| PARAM_VALUE | 2 | index | 0-4 |
| BUF_SIZE | 0 | table | 4480 |
| BUF_SIZE | 0 | table | 4480 |
| DATA_SOURCE | 0 | table | $2 |
| DATA_SOURCE | 1 | index | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/dcn32_fpu.c build_synthetic_soc_states() -> remove_entry_from_table_at_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->dcfclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dispclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dppclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dram_bw_per_chan_gbps | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dram_speed_mts | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dscclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dtbclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->fabricclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->net_bw_in_kbytes_sec | -9223372036854775808.000000-9223372036854775808.000000 |
| PARAM_VALUE | 0 | table->phyclk_d18_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->phyclk_d32_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->phyclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->socclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | index | 7622922608937734528 |
| PARAM_VALUE | 2 | index | 1-s32max |
| BUF_SIZE | 0 | table | 4480 |
| BUF_SIZE | 0 | table | 4480 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | table | $2 |
| DATA_SOURCE | 1 | index | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/dcn32_fpu.c remove_inconsistent_entries() -> remove_entry_from_table_at_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->dcfclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dispclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dppclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dram_bw_per_chan_gbps | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dram_speed_mts | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dscclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dtbclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->fabricclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->net_bw_in_kbytes_sec | -9223372036854775808.000000-9223372036854775808.000000 |
| PARAM_VALUE | 0 | table->phyclk_d18_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->phyclk_d32_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->phyclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->socclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | index | 7622922608937734528 |
| PARAM_VALUE | 1 | *index | 0-6 |
| PARAM_VALUE | 2 | index | 0-4 |
| BUF_SIZE | 0 | table | 4480 |
| BUF_SIZE | 0 | table | 4480 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | table | $0 |
| DATA_SOURCE | 1 | index | $1 |
| FUZZY_MAX | 1 | *index | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml2_policy.c dml2_policy_build_synthetic_soc_states() -> remove_entry_from_table_at_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->state_array | 4096-ptr_max |
| PARAM_VALUE | 0 | table->state_array->dcfclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->dispclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->dppclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->dram_clock_change_latency_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->dram_speed_mts | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->dscclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->dtbclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->fabricclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->fclk_change_latency_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->g6_temp_read_blackout_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->phyclk_d18_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->phyclk_d32_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->phyclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->socclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->sr_enter_plus_exit_time_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->sr_enter_plus_exit_z8_time_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->sr_exit_time_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->sr_exit_z8_time_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->urgent_latency_adjustment_fabric_clock_component_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->urgent_latency_adjustment_fabric_clock_reference_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->urgent_latency_pixel_data_only_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->urgent_latency_pixel_mixed_with_vm_data_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->urgent_latency_vm_data_only_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->usr_retraining_latency_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->writeback_latency_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | index | 0-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml2_policy.c dml2_policy_build_synthetic_soc_states() -> remove_entry_from_table_at_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->state_array | 4096-ptr_max |
| PARAM_VALUE | 0 | table->state_array->dcfclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->dispclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->dppclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->dram_clock_change_latency_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->dram_speed_mts | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->dscclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->dtbclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->fabricclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->fclk_change_latency_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->g6_temp_read_blackout_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->phyclk_d18_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->phyclk_d32_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->phyclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->socclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->sr_enter_plus_exit_time_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->sr_enter_plus_exit_z8_time_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->sr_exit_time_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->sr_exit_z8_time_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->urgent_latency_adjustment_fabric_clock_component_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->urgent_latency_adjustment_fabric_clock_reference_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->urgent_latency_pixel_data_only_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->urgent_latency_pixel_mixed_with_vm_data_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->urgent_latency_vm_data_only_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->usr_retraining_latency_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->state_array->writeback_latency_us | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | index | 0-2147483646 |
| CAPPED_DATA | 1 | index | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn321/dcn321_fpu.c build_synthetic_soc_states() -> remove_entry_from_table_at_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->dcfclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dispclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dppclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dram_bw_per_chan_gbps | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dram_speed_mts | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dscclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dtbclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->fabricclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->net_bw_in_kbytes_sec | -9223372036854775808.000000-9223372036854775808.000000 |
| PARAM_VALUE | 0 | table->phyclk_d18_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->phyclk_d32_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->phyclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->socclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | index | 3700555065351344512 |
| PARAM_VALUE | 1 | *index | 0-1,3-5 |
| PARAM_VALUE | 2 | index | 0-4 |
| BUF_SIZE | 0 | table | 4480 |
| BUF_SIZE | 0 | table | 4480 |
| DATA_SOURCE | 0 | table | $2 |
| DATA_SOURCE | 1 | index | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn321/dcn321_fpu.c build_synthetic_soc_states() -> remove_entry_from_table_at_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->dcfclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dispclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dppclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dram_bw_per_chan_gbps | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dram_speed_mts | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dscclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dtbclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->fabricclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->net_bw_in_kbytes_sec | -9223372036854775808.000000-9223372036854775808.000000 |
| PARAM_VALUE | 0 | table->phyclk_d18_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->phyclk_d32_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->phyclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->socclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | index | 3700555065351344512 |
| PARAM_VALUE | 2 | index | 1-s32max |
| BUF_SIZE | 0 | table | 4480 |
| BUF_SIZE | 0 | table | 4480 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | table | $2 |
| DATA_SOURCE | 1 | index | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn321/dcn321_fpu.c remove_inconsistent_entries() -> remove_entry_from_table_at_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | table | 4096-ptr_max |
| PARAM_VALUE | 0 | table->dcfclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dispclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dppclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dram_bw_per_chan_gbps | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dram_speed_mts | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dscclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->dtbclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->fabricclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->net_bw_in_kbytes_sec | -9223372036854775808.000000-9223372036854775808.000000 |
| PARAM_VALUE | 0 | table->phyclk_d18_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->phyclk_d32_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->phyclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 0 | table->socclk_mhz | -9.223372e+18-9.223372e+18 |
| PARAM_VALUE | 1 | index | 3700555065351344512 |
| PARAM_VALUE | 1 | *index | 1-6 |
| BUF_SIZE | 0 | table | 4480 |
| BUF_SIZE | 0 | table | 4480 |
| DATA_SOURCE | 0 | table | $0 |
| DATA_SOURCE | 1 | index | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |