Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dpm.h243 ((adev)->powerplay.pp_funcs->pre_set_power_state((adev)->powerplay.pp_handle))
246 ((adev)->powerplay.pp_funcs->set_power_state((adev)->powerplay.pp_handle))
249 ((adev)->powerplay.pp_funcs->post_set_power_state((adev)->powerplay.pp_handle))
252 ((adev)->powerplay.pp_funcs->display_configuration_changed((adev)->powerplay.pp_handle))
255 ((adev)->powerplay.pp_funcs->print_power_state((adev)->powerplay.pp_handle, (ps)))
258 ((adev)->powerplay.pp_funcs->vblank_too_short((adev)->powerplay.pp_handle))
261 ((adev)->powerplay.pp_funcs->enable_bapm((adev)->powerplay.pp_handle, (e)))
264 ((adev)->powerplay.pp_funcs->read_sensor((adev)->powerplay.pp_handle, (idx), (value), (size)))
267 ((adev)->powerplay.pp_funcs->set_fan_control_mode((adev)->powerplay.pp_handle, (m)))
270 ((adev)->powerplay.pp_funcs->get_fan_control_mode((adev)->powerplay.pp_handle))
[all …]
Damdgpu_pm.c74 if (adev->powerplay.pp_funcs->enable_bapm) in amdgpu_pm_acpi_event_handler()
122 if (adev->powerplay.pp_funcs->get_current_power_state) in amdgpu_get_dpm_state()
152 if (adev->powerplay.pp_funcs->dispatch_tasks) { in amdgpu_set_dpm_state()
240 if (adev->powerplay.pp_funcs->get_performance_level) in amdgpu_get_dpm_forced_performance_level()
273 if (adev->powerplay.pp_funcs->get_performance_level) in amdgpu_set_dpm_forced_performance_level()
302 if (adev->powerplay.pp_funcs->force_performance_level) { in amdgpu_set_dpm_forced_performance_level()
330 if (adev->powerplay.pp_funcs->get_pp_num_states) in amdgpu_get_pp_num_states()
354 if (adev->powerplay.pp_funcs->get_current_power_state in amdgpu_get_pp_cur_state()
355 && adev->powerplay.pp_funcs->get_pp_num_states) { in amdgpu_get_pp_cur_state()
397 else if (adev->powerplay.pp_funcs->dispatch_tasks && in amdgpu_set_pp_force_state()
[all …]
DMakefile33 -I$(FULL_AMD_PATH)/powerplay/inc \
170 include $(FULL_AMD_PATH)/powerplay/Makefile
Dvi.c1379 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in vi_common_set_clockgating_state_by_smu()
1398 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in vi_common_set_clockgating_state_by_smu()
1417 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in vi_common_set_clockgating_state_by_smu()
1432 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in vi_common_set_clockgating_state_by_smu()
1445 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in vi_common_set_clockgating_state_by_smu()
1460 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in vi_common_set_clockgating_state_by_smu()
1475 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in vi_common_set_clockgating_state_by_smu()
Damdgpu_amdkfd.c382 else if (adev->powerplay.pp_funcs) in get_local_mem_info()
404 else if (adev->powerplay.pp_funcs) in get_max_engine_clock_in_mhz()
Damdgpu_debugfs.c574 if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->read_sensor) in amdgpu_debugfs_sensor_read()
Dmmhub_v1_0.c474 if (adev->powerplay.pp_funcs->set_powergating_by_smu) in mmhub_v1_0_update_power_gating()
Damdgpu_device.c1553 adev->powerplay.pp_feature = amdgpu_pp_feature_mask; in amdgpu_device_ip_early_init()
1831 if (adev->powerplay.pp_funcs->set_powergating_by_smu) in amdgpu_device_ip_fini()
2002 if (adev->powerplay.pp_funcs->set_powergating_by_smu) in amdgpu_device_ip_suspend_phase2()
Dsoc15.c719 if (adev->powerplay.pp_feature & PP_GFXOFF_MASK) in soc15_common_early_init()
Dgfx_v8_0.c5610 adev->powerplay.pp_funcs->set_powergating_by_smu) in gfx_v8_0_enable_gfx_static_mg_power_gating()
6120 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in gfx_v8_0_tonga_update_gfx_clock_gating()
6142 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in gfx_v8_0_tonga_update_gfx_clock_gating()
6172 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in gfx_v8_0_polaris_update_gfx_clock_gating()
6192 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in gfx_v8_0_polaris_update_gfx_clock_gating()
6214 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in gfx_v8_0_polaris_update_gfx_clock_gating()
6230 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in gfx_v8_0_polaris_update_gfx_clock_gating()
6245 if (adev->powerplay.pp_funcs->set_clockgating_by_smu) in gfx_v8_0_polaris_update_gfx_clock_gating()
Dkv_dpm.c2827 if (adev->powerplay.pp_feature & PP_SCLK_DEEP_SLEEP_MASK) in kv_dpm_init()
2972 adev->powerplay.pp_funcs = &kv_dpm_funcs; in kv_dpm_early_init()
2973 adev->powerplay.pp_handle = adev; in kv_dpm_early_init()
Damdgpu.h1472 struct amd_powerplay powerplay; member
Dci_dpm.c5906 if (adev->powerplay.pp_feature & PP_SCLK_DEEP_SLEEP_MASK) in ci_dpm_init()
6248 adev->powerplay.pp_funcs = &ci_dpm_funcs; in ci_dpm_early_init()
6249 adev->powerplay.pp_handle = adev; in ci_dpm_early_init()
Dgfx_v9_0.c3786 if (enable && adev->powerplay.pp_funcs->set_powergating_by_smu) in gfx_v9_0_set_powergating_state()
3791 if (enable && adev->powerplay.pp_funcs->set_powergating_by_smu) in gfx_v9_0_set_powergating_state()
Dsi_dpm.c7920 adev->powerplay.pp_funcs = &si_dpm_funcs; in si_dpm_early_init()
7921 adev->powerplay.pp_handle = adev; in si_dpm_early_init()
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c109 if (adev->powerplay.pp_funcs->display_configuration_change) in dm_pp_apply_display_requirements()
110 adev->powerplay.pp_funcs->display_configuration_change( in dm_pp_apply_display_requirements()
111 adev->powerplay.pp_handle, in dm_pp_apply_display_requirements()
308 void *pp_handle = adev->powerplay.pp_handle; in dm_pp_get_clock_levels_by_type()
313 if (adev->powerplay.pp_funcs->get_clock_by_type) { in dm_pp_get_clock_levels_by_type()
314 if (adev->powerplay.pp_funcs->get_clock_by_type(pp_handle, in dm_pp_get_clock_levels_by_type()
324 if (adev->powerplay.pp_funcs->get_display_mode_validation_clocks) { in dm_pp_get_clock_levels_by_type()
325 if (adev->powerplay.pp_funcs->get_display_mode_validation_clocks( in dm_pp_get_clock_levels_by_type()
380 void *pp_handle = adev->powerplay.pp_handle; in dm_pp_get_clock_levels_by_type_with_latency()
382 const struct amd_pm_funcs *pp_funcs = adev->powerplay.pp_funcs; in dm_pp_get_clock_levels_by_type_with_latency()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/
DMakefile24 -I$(FULL_AMD_PATH)/powerplay/inc/ \
27 -I$(FULL_AMD_PATH)/powerplay/smumgr\
28 -I$(FULL_AMD_PATH)/powerplay/hwmgr
30 AMD_PP_PATH = ../powerplay
34 AMD_POWERPLAY = $(addsuffix /Makefile,$(addprefix $(FULL_AMD_PATH)/powerplay/,$(PP_LIBS)))
Damd_powerplay.c56 hwmgr->feature_mask = adev->powerplay.pp_feature; in amd_powerplay_create()
58 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()
85 ret = hwmgr_early_init(adev->powerplay.pp_handle); in pp_early_init()
95 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_sw_init()
108 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_sw_fini()
125 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_hw_init()
141 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_hw_fini()
153 struct pp_hwmgr *hwmgr = adev->powerplay.pp_handle; in pp_reserve_vram_for_smu()
[all …]
/Linux-v4.19/
DMAINTAINERS799 F: drivers/gpu/drm/amd/powerplay/