Searched refs:pp_handle (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/amd/pm/inc/ |
D | amdgpu_dpm.h | 257 ((adev)->powerplay.pp_funcs->pre_set_power_state((adev)->powerplay.pp_handle)) 260 ((adev)->powerplay.pp_funcs->set_power_state((adev)->powerplay.pp_handle)) 263 ((adev)->powerplay.pp_funcs->post_set_power_state((adev)->powerplay.pp_handle)) 266 ((adev)->powerplay.pp_funcs->display_configuration_changed((adev)->powerplay.pp_handle)) 269 ((adev)->powerplay.pp_funcs->print_power_state((adev)->powerplay.pp_handle, (ps))) 272 ((adev)->powerplay.pp_funcs->vblank_too_short((adev)->powerplay.pp_handle)) 275 ((adev)->powerplay.pp_funcs->enable_bapm((adev)->powerplay.pp_handle, (e))) 278 ((adev)->powerplay.pp_funcs->set_fan_control_mode((adev)->powerplay.pp_handle, (m))) 281 ((adev)->powerplay.pp_funcs->get_fan_control_mode((adev)->powerplay.pp_handle)) 284 ((adev)->powerplay.pp_funcs->set_fan_speed_percent((adev)->powerplay.pp_handle, (s))) [all …]
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_pp_smu.c | 107 adev->powerplay.pp_handle, in dm_pp_apply_display_requirements() 337 void *pp_handle = adev->powerplay.pp_handle; in dm_pp_get_clock_levels_by_type() local 343 if (adev->powerplay.pp_funcs->get_clock_by_type(pp_handle, in dm_pp_get_clock_levels_by_type() 362 pp_handle, &validation_clks)) { in dm_pp_get_clock_levels_by_type() 423 void *pp_handle = adev->powerplay.pp_handle; in dm_pp_get_clock_levels_by_type_with_latency() local 429 ret = pp_funcs->get_clock_by_type_with_latency(pp_handle, in dm_pp_get_clock_levels_by_type_with_latency() 453 void *pp_handle = adev->powerplay.pp_handle; in dm_pp_get_clock_levels_by_type_with_voltage() local 459 ret = pp_funcs->get_clock_by_type_with_voltage(pp_handle, in dm_pp_get_clock_levels_by_type_with_voltage() 508 adev->powerplay.pp_handle, in dm_pp_apply_clock_for_voltage_request() 529 adev->powerplay.pp_handle, in dm_pp_get_static_clocks() [all …]
|
/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 925 return (adev)->powerplay.pp_funcs->get_sclk((adev)->powerplay.pp_handle, (low)); in amdgpu_dpm_get_sclk() 942 return (adev)->powerplay.pp_funcs->get_mclk((adev)->powerplay.pp_handle, (low)); in amdgpu_dpm_get_mclk() 986 (adev)->powerplay.pp_handle, block_type, gate)); in amdgpu_dpm_set_powergating_by_smu() 998 (adev)->powerplay.pp_handle, block_type, gate)); in amdgpu_dpm_set_powergating_by_smu() 1009 (adev)->powerplay.pp_handle, block_type, gate)); in amdgpu_dpm_set_powergating_by_smu() 1021 void *pp_handle = adev->powerplay.pp_handle; in amdgpu_dpm_baco_enter() local 1032 ret = pp_funcs->set_asic_baco_state(pp_handle, 1); in amdgpu_dpm_baco_enter() 1041 void *pp_handle = adev->powerplay.pp_handle; in amdgpu_dpm_baco_exit() local 1052 ret = pp_funcs->set_asic_baco_state(pp_handle, 0); in amdgpu_dpm_baco_exit() 1068 adev->powerplay.pp_handle, in amdgpu_dpm_set_mp1_state() [all …]
|
D | amdgpu_pm.c | 2048 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in default_attr_update() 2930 adev->powerplay.pp_funcs->get_power_limit(adev->powerplay.pp_handle, &limit, true); in amdgpu_hwmon_show_power_cap_max() 2964 adev->powerplay.pp_funcs->get_power_limit(adev->powerplay.pp_handle, &limit, false); in amdgpu_hwmon_show_power_cap() 3008 err = adev->powerplay.pp_funcs->set_power_limit(adev->powerplay.pp_handle, value); in amdgpu_hwmon_set_power_cap()
|
/drivers/gpu/drm/amd/pm/powerplay/ |
D | amd_powerplay.c | 58 adev->powerplay.pp_handle = hwmgr; in amd_powerplay_create() 66 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in amd_powerplay_destroy() 87 ret = hwmgr_early_init(adev->powerplay.pp_handle); in pp_early_init() 97 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_sw_init() 110 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_sw_fini() 124 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_hw_init() 137 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_hw_fini() 149 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_reserve_vram_for_smu() 178 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_late_init() 226 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_suspend() [all …]
|
D | kv_dpm.c | 2958 adev->powerplay.pp_handle = adev; in kv_dpm_early_init()
|
D | si_dpm.c | 7921 adev->powerplay.pp_handle = adev; in si_dpm_early_init()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu.h | 723 void *pp_handle; member
|