drm/amd/amdgpu: Enable stoney UVD PG
authorTom St Denis <tom.stdenis@amd.com>
Thu, 28 Jul 2016 13:38:29 +0000 (09:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:32:48 +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 c1e4284..9c3f7b7 100644 (file)
@@ -1278,7 +1278,8 @@ static int vi_common_early_init(void *handle)
                        AMD_CG_SUPPORT_SDMA_LS;
                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;
        default: