diff options
author | Kenneth Feng <kenneth.feng@amd.com> | 2018-08-24 16:44:11 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-14 09:35:47 -0500 |
commit | 1a84d967c180d421a9182a227fc1fee3701cc7d6 (patch) | |
tree | 67d0e8ccf97793e5a2942d002a7b6565af9eae93 /drivers/gpu/drm/amd/amdgpu/soc15.c | |
parent | 91468057d39ec08ae8389a91436be2c019a1ac36 (diff) | |
download | linux-1a84d967c180d421a9182a227fc1fee3701cc7d6.tar.bz2 |
drm/amdgpu: enable vcn powergating for PCO
enable vcn pg
Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc15.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 53159f1d7a39..7837f0cc75b2 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -740,7 +740,9 @@ static int soc15_common_early_init(void *handle) AMD_CG_SUPPORT_SDMA_MGCG | AMD_CG_SUPPORT_SDMA_LS; - adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_MMHUB; + adev->pg_flags = AMD_PG_SUPPORT_SDMA | + AMD_PG_SUPPORT_MMHUB | + AMD_PG_SUPPORT_VCN; if (adev->powerplay.pp_feature & PP_GFXOFF_MASK) adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | |