Home
last modified time | relevance | path

Searched refs:powerplay (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c37 ((adev)->powerplay.pp_funcs->enable_bapm((adev)->powerplay.pp_handle, (e)))
39 #define amdgpu_dpm_is_legacy_dpm(adev) ((adev)->powerplay.pp_handle == (adev))
43 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_get_sclk()
50 ret = pp_funcs->get_sclk((adev)->powerplay.pp_handle, in amdgpu_dpm_get_sclk()
59 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_get_mclk()
66 ret = pp_funcs->get_mclk((adev)->powerplay.pp_handle, in amdgpu_dpm_get_mclk()
76 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_set_powergating_by_smu()
98 (adev)->powerplay.pp_handle, block_type, gate)); in amdgpu_dpm_set_powergating_by_smu()
114 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_gfx_power_up_by_imu()
128 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_baco_enter()
[all …]
DMakefile33 -I$(FULL_AMD_PATH)/pm/powerplay/inc \
34 -I$(FULL_AMD_PATH)/pm/powerplay/smumgr\
35 -I$(FULL_AMD_PATH)/pm/powerplay/hwmgr \
40 PM_LIBS = swsmu powerplay legacy-dpm
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/
DMakefile23 AMD_PP_PATH = ../pm/powerplay
27 AMD_POWERPLAY = $(addsuffix /Makefile,$(addprefix $(FULL_AMD_PATH)/pm/powerplay/,$(PP_LIBS)))
Damd_powerplay.c59 adev->powerplay.pp_handle = hwmgr; in amd_powerplay_create()
60 adev->powerplay.pp_funcs = &pp_dpm_funcs; in amd_powerplay_create()
67 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in amd_powerplay_destroy()
88 ret = hwmgr_early_init(adev->powerplay.pp_handle); in pp_early_init()
137 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_sw_init()
154 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_sw_fini()
167 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_hw_init()
180 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_hw_fini()
194 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_reserve_vram_for_smu()
223 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_late_init()
[all …]
/linux-6.6.21/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()
804 if (single_display && adev->powerplay.pp_funcs->vblank_too_short) { in amdgpu_dpm_pick_power_state()
930 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_change_power_state_locked()
979 pp_funcs->set_power_state(adev->powerplay.pp_handle); in amdgpu_dpm_change_power_state_locked()
[all …]
Dkv_dpm.c2959 adev->powerplay.pp_funcs = &kv_dpm_funcs; in kv_dpm_early_init()
2960 adev->powerplay.pp_handle = adev; in kv_dpm_early_init()
Dsi_dpm.c7946 adev->powerplay.pp_funcs = &si_dpm_funcs; in si_dpm_early_init()
7947 adev->powerplay.pp_handle = adev; in si_dpm_early_init()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c474 struct smu_context *smu = adev->powerplay.pp_handle; in is_support_cclk_dpm()
579 struct smu_context *smu = adev->powerplay.pp_handle; in smu_set_funcs()
667 adev->powerplay.pp_handle = smu; in smu_early_init()
668 adev->powerplay.pp_funcs = &swsmu_pm_funcs; in smu_early_init()
724 struct smu_context *smu = adev->powerplay.pp_handle; in smu_late_init()
1106 struct smu_context *smu = adev->powerplay.pp_handle; in smu_sw_init()
1183 struct smu_context *smu = adev->powerplay.pp_handle; in smu_sw_fini()
1454 struct smu_context *smu = adev->powerplay.pp_handle; in smu_hw_init()
1642 struct smu_context *smu = adev->powerplay.pp_handle; in smu_hw_fini()
1664 struct smu_context *smu = adev->powerplay.pp_handle; in smu_late_fini()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu_helper.c606 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in phm_irq_process()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1333 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v11_0_set_irq_state()
1402 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v11_0_irq_process()
Darcturus_ppt.c2065 struct smu_context *smu = adev->powerplay.pp_handle; in arcturus_i2c_xfer()
Dnavi10_ppt.c2974 struct smu_context *smu = adev->powerplay.pp_handle; in navi10_i2c_xfer()
Dsienna_cichlid_ppt.c3750 struct smu_context *smu = adev->powerplay.pp_handle; in sienna_cichlid_i2c_xfer()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_6_ppt.c1273 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v13_0_6_irq_process()
1702 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v13_0_6_i2c_xfer()
Dsmu_v13_0.c1262 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v13_0_set_irq_state()
1337 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v13_0_irq_process()
Daldebaran_ppt.c1472 struct smu_context *smu = adev->powerplay.pp_handle; in aldebaran_i2c_xfer()
Dsmu_v13_0_0_ppt.c2228 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v13_0_0_i2c_xfer()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu.h908 struct amd_powerplay powerplay; member