drm/amd/amdgpu: Enable carrizo UVD PG
authorTom St Denis <tom.stdenis@amd.com>
Thu, 28 Jul 2016 13:35:57 +0000 (09:35 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:32:45 +0000 (11:32 -0400)
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vi.c

index 90b3ca8..0088171 100644 (file)
@@ -1254,7 +1254,8 @@ static int vi_common_early_init(void *handle)
                if (adev->rev_id != 0x00) {
                        adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
                                AMD_PG_SUPPORT_GFX_SMG |
-                               AMD_PG_SUPPORT_GFX_PIPELINE;
+                               AMD_PG_SUPPORT_GFX_PIPELINE |
+                               AMD_PG_SUPPORT_UVD;
                }
                adev->external_rev_id = adev->rev_id + 0x1;
                break;