summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-05-17 16:03:47 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-05-24 10:07:51 -0500
commit61c8e90d965ba944d8b56c29c2c7bb9ec34f45d5 (patch)
tree7785e814dfe7f5006822507c7c8a876eb9e09735 /drivers/gpu/drm/amd/amdgpu/soc15.c
parentd58c5d9a42050c93f17ba82aaff0f34a30761ac7 (diff)
downloadlinux-stable-61c8e90d965ba944d8b56c29c2c7bb9ec34f45d5.tar.gz
linux-stable-61c8e90d965ba944d8b56c29c2c7bb9ec34f45d5.tar.bz2
linux-stable-61c8e90d965ba944d8b56c29c2c7bb9ec34f45d5.zip
drm/amdgpu: Enable VCN static PG by default on RV
Enable static VCN powergating by default on Raven. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index 2cf9a188131d..68b4a22a8892 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -712,7 +712,8 @@ static int soc15_common_early_init(void *handle)
AMD_CG_SUPPORT_SDMA_MGCG |
AMD_CG_SUPPORT_SDMA_LS |
AMD_CG_SUPPORT_VCN_MGCG;
- adev->pg_flags = AMD_PG_SUPPORT_SDMA;
+
+ adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN;
if (adev->powerplay.pp_feature & PP_GFXOFF_MASK)
adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |