diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2016-12-07 04:48:48 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-12-15 15:16:23 -0500 |
commit | 98fccc78bc29e35f7204f5f6cf7f0a923e335222 (patch) | |
tree | 026e9c5fbe6c70125c9c35043e652a6076cecb5f | |
parent | 202e0b227b906cb80a2791f21216a55d9468d61b (diff) |
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>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/vi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 6d49254636b8..16342195bb8e 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++ b/drivers/gpu/drm/amd/amdgpu/vi.c | |||
@@ -971,6 +971,7 @@ static int vi_common_early_init(void *handle) | |||
971 | adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | | 971 | adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | |
972 | AMD_PG_SUPPORT_GFX_SMG | | 972 | AMD_PG_SUPPORT_GFX_SMG | |
973 | AMD_PG_SUPPORT_GFX_PIPELINE | | 973 | AMD_PG_SUPPORT_GFX_PIPELINE | |
974 | AMD_PG_SUPPORT_CP | | ||
974 | AMD_PG_SUPPORT_UVD | | 975 | AMD_PG_SUPPORT_UVD | |
975 | AMD_PG_SUPPORT_VCE; | 976 | AMD_PG_SUPPORT_VCE; |
976 | } | 977 | } |
@@ -996,6 +997,7 @@ static int vi_common_early_init(void *handle) | |||
996 | adev->pg_flags = AMD_PG_SUPPORT_GFX_PG | | 997 | adev->pg_flags = AMD_PG_SUPPORT_GFX_PG | |
997 | AMD_PG_SUPPORT_GFX_SMG | | 998 | AMD_PG_SUPPORT_GFX_SMG | |
998 | AMD_PG_SUPPORT_GFX_PIPELINE | | 999 | AMD_PG_SUPPORT_GFX_PIPELINE | |
1000 | AMD_PG_SUPPORT_CP | | ||
999 | AMD_PG_SUPPORT_UVD | | 1001 | AMD_PG_SUPPORT_UVD | |
1000 | AMD_PG_SUPPORT_VCE; | 1002 | AMD_PG_SUPPORT_VCE; |
1001 | adev->external_rev_id = adev->rev_id + 0x61; | 1003 | adev->external_rev_id = adev->rev_id + 0x61; |