Home
last modified time | relevance | path

Searched refs:powerplay (Results 1 – 16 of 16) 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()
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()
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()
96 (adev)->powerplay.pp_handle, block_type, gate)); in amdgpu_dpm_set_powergating_by_smu()
112 struct smu_context *smu = adev->powerplay.pp_handle; in amdgpu_dpm_set_gfx_power_up_by_imu()
126 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in amdgpu_dpm_baco_enter()
127 void *pp_handle = adev->powerplay.pp_handle; 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.1.9/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.c58 adev->powerplay.pp_handle = hwmgr; in amd_powerplay_create()
59 adev->powerplay.pp_funcs = &pp_dpm_funcs; 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()
[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()
1005 pp_funcs->set_power_state(adev->powerplay.pp_handle); in amdgpu_dpm_change_power_state_locked()
[all …]
Dkv_dpm.c2974 adev->powerplay.pp_funcs = &kv_dpm_funcs; in kv_dpm_early_init()
2975 adev->powerplay.pp_handle = adev; in kv_dpm_early_init()
Dsi_dpm.c7954 adev->powerplay.pp_funcs = &si_dpm_funcs; in si_dpm_early_init()
7955 adev->powerplay.pp_handle = adev; in si_dpm_early_init()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c453 struct smu_context *smu = adev->powerplay.pp_handle; in is_support_cclk_dpm()
558 struct smu_context *smu = adev->powerplay.pp_handle; in smu_set_funcs()
640 adev->powerplay.pp_handle = smu; in smu_early_init()
641 adev->powerplay.pp_funcs = &swsmu_pm_funcs; in smu_early_init()
694 struct smu_context *smu = adev->powerplay.pp_handle; in smu_late_init()
1031 struct smu_context *smu = adev->powerplay.pp_handle; in smu_sw_init()
1111 struct smu_context *smu = adev->powerplay.pp_handle; in smu_sw_fini()
1375 struct smu_context *smu = adev->powerplay.pp_handle; in smu_hw_init()
1552 struct smu_context *smu = adev->powerplay.pp_handle; in smu_hw_fini()
1574 struct smu_context *smu = adev->powerplay.pp_handle; in smu_late_fini()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c1359 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v11_0_set_irq_state()
1428 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v11_0_irq_process()
Darcturus_ppt.c2064 struct smu_context *smu = adev->powerplay.pp_handle; in arcturus_i2c_xfer()
Dnavi10_ppt.c2965 struct smu_context *smu = adev->powerplay.pp_handle; in navi10_i2c_xfer()
Dsienna_cichlid_ppt.c3704 struct smu_context *smu = adev->powerplay.pp_handle; in sienna_cichlid_i2c_xfer()
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c1300 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v13_0_set_irq_state()
1375 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v13_0_irq_process()
Daldebaran_ppt.c1476 struct smu_context *smu = adev->powerplay.pp_handle; in aldebaran_i2c_xfer()
Dsmu_v13_0_0_ppt.c1732 struct smu_context *smu = adev->powerplay.pp_handle; in smu_v13_0_0_i2c_xfer()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu.h895 struct amd_powerplay powerplay; member