aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/vi.c
diff options
context:
space:
mode:
authorTom St Denis <[email protected]>2016-07-28 13:38:45 +0000
committerAlex Deucher <[email protected]>2016-08-08 15:32:50 +0000
commit75419c437851ab28d75bbf14502342c97cf47eb4 (patch)
tree04afb675249eec85bc52025ac77fed625493b313 /drivers/gpu/drm/amd/amdgpu/vi.c
parentdrm/amd/amdgpu: Enable stoney UVD PG (diff)
downloadkernel-75419c437851ab28d75bbf14502342c97cf47eb4.tar.gz
kernel-75419c437851ab28d75bbf14502342c97cf47eb4.zip
drm/amd/amdgpu: Enable stoney VCE PG
Signed-off-by: Tom St Denis <[email protected]> Reviewed-by: Rex Zhu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/vi.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index 9c3f7b7e1f90..aaee251fe337 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -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: