Home
last modified time | relevance | path

Searched refs:pp_funcs (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c37 ((adev)->powerplay.pp_funcs->enable_bapm((adev)->powerplay.pp_handle, (e)))
41 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_get_sclk() local
44 if (!pp_funcs->get_sclk) in amdgpu_dpm_get_sclk()
48 ret = pp_funcs->get_sclk((adev)->powerplay.pp_handle, in amdgpu_dpm_get_sclk()
57 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_get_mclk() local
60 if (!pp_funcs->get_mclk) in amdgpu_dpm_get_mclk()
64 ret = pp_funcs->get_mclk((adev)->powerplay.pp_handle, in amdgpu_dpm_get_mclk()
74 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_set_powergating_by_smu() local
94 if (pp_funcs && pp_funcs->set_powergating_by_smu) in amdgpu_dpm_set_powergating_by_smu()
95 ret = (pp_funcs->set_powergating_by_smu( in amdgpu_dpm_set_powergating_by_smu()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/
Dlegacy_dpm.c33 ((adev)->powerplay.pp_funcs->pre_set_power_state((adev)->powerplay.pp_handle))
36 ((adev)->powerplay.pp_funcs->post_set_power_state((adev)->powerplay.pp_handle))
39 ((adev)->powerplay.pp_funcs->display_configuration_changed((adev)->powerplay.pp_handle))
42 ((adev)->powerplay.pp_funcs->print_power_state((adev)->powerplay.pp_handle, (ps)))
45 ((adev)->powerplay.pp_funcs->vblank_too_short((adev)->powerplay.pp_handle))
48 …((adev)->powerplay.pp_funcs->check_state_equal((adev)->powerplay.pp_handle, (cps), (rps), (equal)))
140 if (adev->powerplay.pp_funcs->print_power_state == NULL) in amdgpu_pm_print_power_states()
830 if (single_display && adev->powerplay.pp_funcs->vblank_too_short) { in amdgpu_dpm_pick_power_state()
956 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_change_power_state_locked() local
980 if (amdgpu_dpm == 1 && pp_funcs->print_power_state) { in amdgpu_dpm_change_power_state_locked()
[all …]
Dkv_dpm.c2974 adev->powerplay.pp_funcs = &kv_dpm_funcs; in kv_dpm_early_init()
Dsi_dpm.c7954 adev->powerplay.pp_funcs = &si_dpm_funcs; in si_dpm_early_init()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu.h689 const struct amd_pm_funcs *pp_funcs; member
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c59 adev->powerplay.pp_funcs = &pp_dpm_funcs; in amd_powerplay_create()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c641 adev->powerplay.pp_funcs = &swsmu_pm_funcs; in smu_early_init()