aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Huang <[email protected]>2015-11-24 10:53:27 -0500
committerAlex Deucher <[email protected]>2015-12-21 16:42:46 -0500
commit0bbb81761864c63b5f323b61b48ee892d472c880 (patch)
tree705a657f44bde52c9c516636bf6f2c370bcdb464
parent0689a5701358656fe16e83df7c6c654185593208 (diff)
drm/amd/amdgpu: enable uvd&vce clock gating for Fiji.
Reviewed-by: Alex Deucher <[email protected]> Reviewed-by: Christian König <[email protected]> Acked-by: Jammy Zhou <[email protected]> Signed-off-by: Eric Huang <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index 67845ee644ad..652e76644c31 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -1442,7 +1442,8 @@ static int vi_common_early_init(void *handle)
break;
case CHIP_FIJI:
adev->has_uvd = true;
- adev->cg_flags = 0;
+ adev->cg_flags = AMDGPU_CG_SUPPORT_UVD_MGCG |
+ AMDGPU_CG_SUPPORT_VCE_MGCG;
adev->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x3c;
break;