diff options
author | Rex Zhu | 2017-08-25 10:58:10 +0200 |
---|---|---|
committer | Alex Deucher | 2017-08-29 21:28:01 +0200 |
commit | 841e3be124b58c6e86fe288bce4dfe58d5574fd3 (patch) | |
tree | 4f9fe952a35d0bf9c3746b342196c2463825ac04 /drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | |
parent | drm/amd/powerplay: add dummy pp table for raven. (v2) (diff) | |
download | kernel-qcow2-linux-841e3be124b58c6e86fe288bce4dfe58d5574fd3.tar.gz kernel-qcow2-linux-841e3be124b58c6e86fe288bce4dfe58d5574fd3.tar.xz kernel-qcow2-linux-841e3be124b58c6e86fe288bce4dfe58d5574fd3.zip |
drm/amd/powerplay: notify smu once display changed on Rv.
when User turn off display or screen idle timeout,
smu need this message to start S0i2 entry.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/inc/hwmgr.h')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h index 91b0105e8240..b1a6372608de 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h +++ b/drivers/gpu/drm/amd/powerplay/inc/hwmgr.h @@ -378,6 +378,8 @@ struct pp_hwmgr_func { struct amd_pp_profile *request); int (*avfs_control)(struct pp_hwmgr *hwmgr, bool enable); int (*disable_smc_firmware_ctf)(struct pp_hwmgr *hwmgr); + int (*set_active_display_count)(struct pp_hwmgr *hwmgr, uint32_t count); + int (*set_deep_sleep_dcefclk)(struct pp_hwmgr *hwmgr, uint32_t clock); }; struct pp_table_func { |