diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-02-29 15:29:48 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-03-02 11:01:24 -0500 |
commit | 370afa7ac5dc6c65cebeaee841ae700eb2387a55 (patch) | |
tree | bf5cc403b7ccc008b6d755356c074ea93d8b98ca | |
parent | b3dae7828399ef316e3fabf7e82c6415cb03a02e (diff) |
drm/amdgpu/powerplay/cz: enable/disable vce dpm independent of vce pg
If we don't disable it when vce is not in use, we use extra power
if vce pg is disabled.
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c index ad7700822a1c..ff08ce41bde9 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/cz_clockpowergating.c | |||
@@ -226,7 +226,7 @@ int cz_dpm_powergate_vce(struct pp_hwmgr *hwmgr, bool bgate) | |||
226 | } | 226 | } |
227 | } else { | 227 | } else { |
228 | cz_dpm_update_vce_dpm(hwmgr); | 228 | cz_dpm_update_vce_dpm(hwmgr); |
229 | cz_enable_disable_vce_dpm(hwmgr, true); | 229 | cz_enable_disable_vce_dpm(hwmgr, !bgate); |
230 | return 0; | 230 | return 0; |
231 | } | 231 | } |
232 | 232 | ||