]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu: enable AMD_PG_SUPPORT_CP in Carrizo/Stoney.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 7 Dec 2016 09:48:48 +0000 (17:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Dec 2016 20:16:23 +0000 (15:16 -0500)
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>
drivers/gpu/drm/amd/amdgpu/vi.c

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