drm/amdgpu: enable AMD_PG_SUPPORT_CP in Carrizo/Stoney.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Rex Zhu 2016-12-07 17:48:48 +08:00 committed by Alex Deucher
parent 202e0b227b
commit 98fccc78bc
1 changed files with 2 additions and 0 deletions

View File

@ -971,6 +971,7 @@ static int vi_common_early_init(void *handle)
adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
AMD_PG_SUPPORT_GFX_SMG | AMD_PG_SUPPORT_GFX_SMG |
AMD_PG_SUPPORT_GFX_PIPELINE | AMD_PG_SUPPORT_GFX_PIPELINE |
AMD_PG_SUPPORT_CP |
AMD_PG_SUPPORT_UVD | AMD_PG_SUPPORT_UVD |
AMD_PG_SUPPORT_VCE; AMD_PG_SUPPORT_VCE;
} }
@ -996,6 +997,7 @@ static int vi_common_early_init(void *handle)
adev->pg_flags = AMD_PG_SUPPORT_GFX_PG | adev->pg_flags = AMD_PG_SUPPORT_GFX_PG |
AMD_PG_SUPPORT_GFX_SMG | AMD_PG_SUPPORT_GFX_SMG |
AMD_PG_SUPPORT_GFX_PIPELINE | AMD_PG_SUPPORT_GFX_PIPELINE |
AMD_PG_SUPPORT_CP |
AMD_PG_SUPPORT_UVD | AMD_PG_SUPPORT_UVD |
AMD_PG_SUPPORT_VCE; AMD_PG_SUPPORT_VCE;
adev->external_rev_id = adev->rev_id + 0x61; adev->external_rev_id = adev->rev_id + 0x61;