/src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/ |
amdgpu_dm_pp_smu.c | 48 struct smu_context *smu = &adev->smu; local in function:dm_pp_apply_display_requirements 115 smu_display_configuration_change(smu, 354 } else if (adev->smu.ppt_funcs && adev->smu.ppt_funcs->get_clock_by_type) { 355 if (smu_get_clock_by_type(&adev->smu, 374 } else if (adev->smu.ppt_funcs && adev->smu.ppt_funcs->get_max_high_clocks) { 375 if (smu_get_max_high_clocks(&adev->smu, &validation_clks)) { 439 } else if (adev->smu.ppt_funcs && adev->smu.ppt_funcs->get_clock_by_type_with_latency) 724 struct smu_context *smu = &adev->smu; local in function:pp_nv_set_pme_wa_enable 740 struct smu_context *smu = &adev->smu; local in function:pp_nv_set_display_count 756 struct smu_context *smu = &adev->smu; local in function:pp_nv_set_min_deep_sleep_dcfclk 773 struct smu_context *smu = &adev->smu; local in function:pp_nv_set_hard_min_dcefclk_by_freq 795 struct smu_context *smu = &adev->smu; local in function:pp_nv_set_hard_min_uclk_by_freq 818 struct smu_context *smu = &adev->smu; local in function:pp_nv_set_pstate_handshake_support 831 struct smu_context *smu = &adev->smu; local in function:pp_nv_set_voltage_by_freq 866 struct smu_context *smu = &adev->smu; local in function:pp_nv_get_maximum_sustainable_clocks 885 struct smu_context *smu = &adev->smu; local in function:pp_nv_get_uclk_dpm_states 905 struct smu_context *smu = &adev->smu; local in function:pp_rn_get_dpm_clock_table 924 struct smu_context *smu = &adev->smu; local in function:pp_rn_set_wm_ranges [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_nv.c | 327 struct smu_context *smu = &adev->smu; local in function:nv_asic_supports_baco 329 if (smu_baco_is_support(smu)) 338 struct smu_context *smu = &adev->smu; local in function:nv_asic_reset_method 340 if (!amdgpu_sriov_vf(adev) && smu_baco_is_support(smu)) 358 struct smu_context *smu = &adev->smu; local in function:nv_asic_reset 363 ret = smu_baco_enter(smu); 366 ret = smu_baco_exit(smu); [all...] |
amdgpu_dpm.c | 917 ret = smu_get_dpm_freq_range(&adev->smu, SMU_GFXCLK, 935 ret = smu_get_dpm_freq_range(&adev->smu, SMU_UCLK, 957 ret = smu_dpm_set_power_gate(&adev->smu, block_type, gate); 996 ret = smu_dpm_set_power_gate(&adev->smu, block_type, gate); 1004 ret = smu_dpm_set_power_gate(&adev->smu, block_type, gate); 1024 struct smu_context *smu = &adev->smu; local in function:amdgpu_dpm_baco_enter 1028 ret = smu_baco_enter(smu); 1044 struct smu_context *smu = &adev->smu; local in function:amdgpu_dpm_baco_exit 1081 struct smu_context *smu = &adev->smu; local in function:amdgpu_dpm_is_baco_supported 1101 struct smu_context *smu = &adev->smu; local in function:amdgpu_dpm_mode2_reset 1117 struct smu_context *smu = &adev->smu; local in function:amdgpu_dpm_baco_reset [all...] |
amdgpu_pm.c | 116 ret = smu_read_sensor(&adev->smu, sensor, data, size); 179 if (adev->smu.ppt_funcs->get_current_power_state) 180 pm = smu_get_current_power_state(&adev->smu); 319 level = smu_get_performance_level(&adev->smu); 381 current_level = smu_get_performance_level(&adev->smu); 404 ret = smu_force_performance_level(&adev->smu, level); 449 ret = smu_get_power_num_states(&adev->smu, &data); 476 struct smu_context *smu = &adev->smu; local in function:amdgpu_get_pp_cur_state 488 pm = smu_get_current_power_state(smu); [all...] |
amdgpu.h | 886 /* smu */ 887 struct smu_context smu; member in struct:amdgpu_device
|
/src/sys/external/bsd/drm2/dist/drm/amd/powerplay/ |
amdgpu_arcturus_ppt.c | 226 pr_warn("Unsupported SMU clk: %d\n", index); 257 pr_warn("Unsupported SMU table: %d\n", index); 273 pr_warn("Unsupported SMU power source: %d\n", index); 281 static int arcturus_get_workload_type(struct smu_context *smu, enum PP_SMC_POWER_PROFILE profile) 295 static int arcturus_tables_init(struct smu_context *smu, struct smu_table *tables) 297 struct smu_table_context *smu_table = &smu->smu_table; 323 static int arcturus_allocate_dpm_context(struct smu_context *smu) 325 struct smu_dpm_context *smu_dpm = &smu->smu_dpm; 359 arcturus_get_allowed_feature_mask(struct smu_context *smu, 372 arcturus_set_single_dpm_table(struct smu_context *smu, 2197 struct smu_context *smu = &adev->smu; local in function:arcturus_i2c_eeprom_control_init 2221 struct smu_context *smu = &adev->smu; local in function:arcturus_i2c_eeprom_control_fini [all...] |
amdgpu_smu.c | 53 const char *smu_get_message_name(struct smu_context *smu, enum smu_message_type type) 56 return "unknown smu message"; 66 const char *smu_get_feature_name(struct smu_context *smu, enum smu_feature_mask feature) 69 return "unknown smu feature"; 73 size_t smu_sys_get_pp_feature_mask(struct smu_context *smu, char *buf) 83 mutex_lock(&smu->mutex); 85 ret = smu_feature_get_enabled_mask(smu, feature_mask, 2); 93 feature_index = smu_feature_get_index(smu, i); 103 smu_get_feature_name(smu, sort_feature[i]), 105 !!smu_feature_is_enabled(smu, sort_feature[i]) 763 struct smu_context *smu = &adev->smu; local in function:smu_set_funcs 797 struct smu_context *smu = &adev->smu; local in function:smu_early_init 810 struct smu_context *smu = &adev->smu; local in function:smu_late_init 894 struct smu_context *smu = &adev->smu; local in function:smu_sw_init 959 struct smu_context *smu = &adev->smu; local in function:smu_sw_fini 1323 struct smu_context *smu = &adev->smu; local in function:smu_hw_init 1389 struct smu_context *smu = &adev->smu; local in function:smu_hw_fini 1474 struct smu_context *smu = &adev->smu; local in function:smu_suspend 1510 struct smu_context *smu = &adev->smu; local in function:smu_resume 1680 struct smu_context *smu = (struct smu_context*)(handle); local in function:smu_enable_umd_pstate [all...] |