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 90b3ca89c40d1ef5c8c5f0611a130f03e2fb07a4..008817174365936d5ae8060046ac43cf8b816331 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;