drm/amd/amdgpu: Enable stoney VCE PG
authorTom St Denis <tom.stdenis@amd.com>
Thu, 28 Jul 2016 13:38:45 +0000 (09:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:32:50 +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 9c3f7b7e1f90f47b26a30c1681fb2809747d6962..aaee251fe337ecabed02ecf4edc2882705c30d24 100644 (file)
@@ -1279,7 +1279,8 @@ 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_UVD;
+                       AMD_PG_SUPPORT_UVD |
+                       AMD_PG_SUPPORT_VCE;
                adev->external_rev_id = adev->rev_id + 0x1;
                break;
        default: