Commit 0bbb8176 authored by Eric Huang's avatar Eric Huang Committed by Alex Deucher

drm/amd/amdgpu: enable uvd&vce clock gating for Fiji.

Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Acked-by: default avatarJammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: default avatarEric Huang <JinHuiEric.Huang@amd.com>
parent 0689a570
...@@ -1442,7 +1442,8 @@ static int vi_common_early_init(void *handle) ...@@ -1442,7 +1442,8 @@ static int vi_common_early_init(void *handle)
break; break;
case CHIP_FIJI: case CHIP_FIJI:
adev->has_uvd = true; 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->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x3c; adev->external_rev_id = adev->rev_id + 0x3c;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment