diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2016-09-24 04:34:59 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-09-27 13:00:48 -0400 |
commit | 3374dcebb827307bc9487dcf4a7b61b8e6004b28 (patch) | |
tree | d6aa3124791847140a34fae9137ca10befb4707a /drivers/gpu | |
parent | 05dcb5c88827cf0f45f706246ce67b2f0cb2914c (diff) |
drm/amdgpu: bypass vce clock if vce is idle on Fiji.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c index a6b4e27bee89..3f6db4ec0102 100644 --- a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c +++ b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | |||
@@ -716,7 +716,8 @@ static int vce_v3_0_set_clockgating_state(void *handle, | |||
716 | int i; | 716 | int i; |
717 | 717 | ||
718 | if ((adev->asic_type == CHIP_POLARIS10) || | 718 | if ((adev->asic_type == CHIP_POLARIS10) || |
719 | (adev->asic_type == CHIP_TONGA)) | 719 | (adev->asic_type == CHIP_TONGA) || |
720 | (adev->asic_type == CHIP_FIJI)) | ||
720 | vce_v3_0_set_bypass_mode(adev, enable); | 721 | vce_v3_0_set_bypass_mode(adev, enable); |
721 | 722 | ||
722 | if (!(adev->cg_flags & AMD_CG_SUPPORT_VCE_MGCG)) | 723 | if (!(adev->cg_flags & AMD_CG_SUPPORT_VCE_MGCG)) |