Home
last modified time | relevance | path

Searched refs:dpm_enabled (Results 1 – 25 of 44) sorted by relevance

12

/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c73 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/
Dradeon_device.c1477 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()
Dradeon_pm.c76 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 …]
Dradeon_vce.c268 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()
Dradeon_kms.c534 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()
Dradeon_uvd.c878 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/
Duvd_v4_2.c241 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()
Djpeg_v3_0.c329 if (adev->pm.dpm_enabled) in jpeg_v3_0_start()
393 if (adev->pm.dpm_enabled) in jpeg_v3_0_stop()
Djpeg_v2_0.c337 if (adev->pm.dpm_enabled) in jpeg_v2_0_start()
398 if (adev->pm.dpm_enabled) in jpeg_v2_0_stop()
Damdgpu_amdkfd.c421 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()
Damdgpu_vce.c347 if (adev->pm.dpm_enabled) { in amdgpu_vce_idle_work_handler()
379 if (adev->pm.dpm_enabled) { in amdgpu_vce_ring_begin_use()
Dvce_v2_0.c506 if (adev->pm.dpm_enabled) { in vce_v2_0_suspend()
Damdgpu_uvd.c1245 if (adev->pm.dpm_enabled) { in amdgpu_uvd_idle_work_handler()
1270 if (adev->pm.dpm_enabled) { in amdgpu_uvd_ring_begin_use()
Dvcn_v1_0.c260 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()
Duvd_v3_1.c727 if (adev->pm.dpm_enabled) { in uvd_v3_1_suspend()
Duvd_v5_0.c239 if (adev->pm.dpm_enabled) { in uvd_v5_0_suspend()
Damdgpu_kms.c816 if (adev->pm.dpm_enabled) { in amdgpu_info_ioctl()
972 if (!adev->pm.dpm_enabled) in amdgpu_info_ioctl()
Dvce_v3_0.c521 if (adev->pm.dpm_enabled) { in vce_v3_0_suspend()
/drivers/gpu/drm/amd/pm/powerplay/
Dkv_dpm.c2967 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()
Dsi_dpm.c7581 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/
Damdgpu_dpm.c1217 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()
Damdgpu_pm.c3354 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/
Dhwmgr.c266 ((struct amdgpu_device *)hwmgr->adev)->pm.dpm_enabled = true; in hwmgr_hw_init()
/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h443 bool dpm_enabled; member
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_pp_smu.c43 if (adev->pm.dpm_enabled) { in dm_pp_apply_display_requirements()

12