/drivers/gpu/drm/amd/pm/swsmu/ |
D | amdgpu_smu.c | 73 if (!smu->pm_enabled || !smu->adev->pm.dpm_enabled) in smu_sys_get_pp_feature_mask() 91 if (!smu->pm_enabled || !smu->adev->pm.dpm_enabled) in smu_sys_set_pp_feature_mask() 280 if (!smu->pm_enabled || !smu->adev->pm.dpm_enabled) in smu_dpm_set_power_gate() 372 if (!smu->pm_enabled || !smu->adev->pm.dpm_enabled) in smu_restore_dpm_user_profile() 485 if (!smu->pm_enabled || !smu->adev->pm.dpm_enabled) in smu_sys_get_pp_table() 514 if (!smu->pm_enabled || !smu->adev->pm.dpm_enabled) in smu_sys_set_pp_table() 1378 adev->pm.dpm_enabled = true; in smu_hw_init() 1490 adev->pm.dpm_enabled = false; in smu_hw_fini() 1531 adev->pm.dpm_enabled = false; in smu_suspend() 1574 adev->pm.dpm_enabled = true; in smu_resume() [all …]
|
/drivers/gpu/drm/radeon/ |
D | radeon_device.c | 1477 if (rdev->pm.dpm_enabled && in radeon_device_init() 1695 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { in radeon_resume_kms() 1699 rdev->pm.dpm_enabled = false; in radeon_resume_kms() 1758 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) in radeon_resume_kms() 1830 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { in radeon_gpu_reset() 1834 rdev->pm.dpm_enabled = false; in radeon_gpu_reset() 1867 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) in radeon_gpu_reset()
|
D | radeon_pm.c | 76 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { in radeon_pm_acpi_event_handler() 882 if (!rdev->pm.dpm_enabled) in radeon_dpm_thermal_work_handler() 1063 if (!rdev->pm.dpm_enabled) in radeon_dpm_change_power_state_locked() 1262 rdev->pm.dpm_enabled = false; in radeon_pm_suspend_dpm() 1323 rdev->pm.dpm_enabled = true; in radeon_pm_resume_dpm() 1451 rdev->pm.dpm_enabled = true; in radeon_pm_init_dpm() 1460 rdev->pm.dpm_enabled = false; in radeon_pm_init_dpm() 1591 if (rdev->pm.dpm_enabled) { in radeon_pm_late_init() 1613 rdev->pm.dpm_enabled = false; in radeon_pm_late_init() 1772 if (!rdev->pm.dpm_enabled) in radeon_pm_compute_clocks_dpm() [all …]
|
D | radeon_vce.c | 268 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { in radeon_vce_idle_work_handler() 293 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { in radeon_vce_note_usage() 299 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { in radeon_vce_note_usage()
|
D | radeon_kms.c | 534 rdev->pm.dpm_enabled) in radeon_info_ioctl() 585 if (rdev->pm.dpm_enabled) in radeon_info_ioctl() 592 if (rdev->pm.dpm_enabled) in radeon_info_ioctl()
|
D | radeon_uvd.c | 878 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { in radeon_uvd_idle_work_handler() 898 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { in radeon_uvd_note_usage() 911 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { in radeon_uvd_note_usage()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | uvd_v4_2.c | 241 if (adev->pm.dpm_enabled) { in uvd_v4_2_suspend() 727 if (adev->pg_flags & AMD_PG_SUPPORT_UVD && !adev->pm.dpm_enabled) { in uvd_v4_2_set_powergating_state() 738 if (adev->pg_flags & AMD_PG_SUPPORT_UVD && !adev->pm.dpm_enabled) { in uvd_v4_2_set_powergating_state()
|
D | jpeg_v3_0.c | 329 if (adev->pm.dpm_enabled) in jpeg_v3_0_start() 393 if (adev->pm.dpm_enabled) in jpeg_v3_0_stop()
|
D | jpeg_v2_0.c | 337 if (adev->pm.dpm_enabled) in jpeg_v2_0_start() 398 if (adev->pm.dpm_enabled) in jpeg_v2_0_stop()
|
D | amdgpu_amdkfd.c | 421 else if (adev->pm.dpm_enabled) { in amdgpu_amdkfd_get_local_mem_info() 446 else if (adev->pm.dpm_enabled) in amdgpu_amdkfd_get_max_engine_clock_in_mhz()
|
D | amdgpu_vce.c | 347 if (adev->pm.dpm_enabled) { in amdgpu_vce_idle_work_handler() 379 if (adev->pm.dpm_enabled) { in amdgpu_vce_ring_begin_use()
|
D | vce_v2_0.c | 506 if (adev->pm.dpm_enabled) { in vce_v2_0_suspend()
|
D | amdgpu_uvd.c | 1245 if (adev->pm.dpm_enabled) { in amdgpu_uvd_idle_work_handler() 1270 if (adev->pm.dpm_enabled) { in amdgpu_uvd_ring_begin_use()
|
D | vcn_v1_0.c | 260 if (adev->pm.dpm_enabled) in vcn_v1_0_suspend() 1819 if (adev->pm.dpm_enabled) in vcn_v1_0_idle_work_handler() 1849 if (adev->pm.dpm_enabled) in vcn_v1_0_set_pg_for_begin_use()
|
D | uvd_v3_1.c | 727 if (adev->pm.dpm_enabled) { in uvd_v3_1_suspend()
|
D | uvd_v5_0.c | 239 if (adev->pm.dpm_enabled) { in uvd_v5_0_suspend()
|
D | amdgpu_kms.c | 816 if (adev->pm.dpm_enabled) { in amdgpu_info_ioctl() 972 if (!adev->pm.dpm_enabled) in amdgpu_info_ioctl()
|
D | vce_v3_0.c | 521 if (adev->pm.dpm_enabled) { in vce_v3_0_suspend()
|
/drivers/gpu/drm/amd/pm/powerplay/ |
D | kv_dpm.c | 2967 if (!adev->pm.dpm_enabled) in kv_dpm_late_init() 3049 adev->pm.dpm_enabled = false; in kv_dpm_hw_init() 3051 adev->pm.dpm_enabled = true; in kv_dpm_hw_init() 3061 if (adev->pm.dpm_enabled) { in kv_dpm_hw_fini() 3074 if (adev->pm.dpm_enabled) { in kv_dpm_suspend() 3090 if (adev->pm.dpm_enabled) { in kv_dpm_resume() 3096 adev->pm.dpm_enabled = false; in kv_dpm_resume() 3098 adev->pm.dpm_enabled = true; in kv_dpm_resume() 3100 if (adev->pm.dpm_enabled) in kv_dpm_resume()
|
D | si_dpm.c | 7581 if (!adev->pm.dpm_enabled) in si_dpm_late_init() 7758 adev->pm.dpm_enabled = false; in si_dpm_hw_init() 7760 adev->pm.dpm_enabled = true; in si_dpm_hw_init() 7770 if (adev->pm.dpm_enabled) { in si_dpm_hw_fini() 7783 if (adev->pm.dpm_enabled) { in si_dpm_suspend() 7799 if (adev->pm.dpm_enabled) { in si_dpm_resume() 7805 adev->pm.dpm_enabled = false; in si_dpm_resume() 7807 adev->pm.dpm_enabled = true; in si_dpm_resume() 7809 if (adev->pm.dpm_enabled) in si_dpm_resume()
|
/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 1217 if (adev->pm.dpm_enabled) { in amdgpu_pm_acpi_event_handler() 1260 if (!adev->pm.dpm_enabled) in amdgpu_dpm_thermal_work_handler() 1426 if (!adev->pm.dpm_enabled) in amdgpu_dpm_change_power_state_locked() 1491 if (!adev->pm.dpm_enabled) in amdgpu_pm_compute_clocks()
|
D | amdgpu_pm.c | 3354 if (!adev->pm.dpm_enabled && in hwmon_attributes_visible() 3480 if (adev->pm.dpm_enabled == 0) in amdgpu_pm_sysfs_init() 3523 if (adev->pm.dpm_enabled == 0) in amdgpu_pm_sysfs_fini() 3677 if (!adev->pm.dpm_enabled) { in amdgpu_debugfs_pm_info_show()
|
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | hwmgr.c | 266 ((struct amdgpu_device *)hwmgr->adev)->pm.dpm_enabled = true; in hwmgr_hw_init()
|
/drivers/gpu/drm/amd/pm/inc/ |
D | amdgpu_dpm.h | 443 bool dpm_enabled; member
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_pp_smu.c | 43 if (adev->pm.dpm_enabled) { in dm_pp_apply_display_requirements()
|