diff options
| author | Alex Deucher <[email protected]> | 2016-02-25 16:24:52 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-03-02 16:01:23 +0000 |
| commit | b3dae7828399ef316e3fabf7e82c6415cb03a02e (patch) | |
| tree | 984ec134f860d91df86ee372c00878d068368c01 /drivers/gpu/drm/amd/amdgpu/cz_dpm.c | |
| parent | drm/amdgpu/gfx8: specify which engine to wait before vm flush (diff) | |
| download | kernel-b3dae7828399ef316e3fabf7e82c6415cb03a02e.tar.gz kernel-b3dae7828399ef316e3fabf7e82c6415cb03a02e.zip | |
drm/amdgpu/cz: enable/disable vce dpm even if vce pg is disabled
I missed this when cleaning up the vce pg handling.
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Rex Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/cz_dpm.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/cz_dpm.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/cz_dpm.c b/drivers/gpu/drm/amd/amdgpu/cz_dpm.c index 9056355309d1..208990ab83d3 100644 --- a/drivers/gpu/drm/amd/amdgpu/cz_dpm.c +++ b/drivers/gpu/drm/amd/amdgpu/cz_dpm.c @@ -2226,10 +2226,8 @@ static void cz_dpm_powergate_vce(struct amdgpu_device *adev, bool gate) } } else { /*pi->caps_vce_pg*/ cz_update_vce_dpm(adev); - cz_enable_vce_dpm(adev, true); + cz_enable_vce_dpm(adev, !gate); } - - return; } const struct amd_ip_funcs cz_dpm_ip_funcs = { |
