diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-05-17 04:03:47 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-05-24 11:07:51 -0400 |
commit | 61c8e90d965ba944d8b56c29c2c7bb9ec34f45d5 (patch) | |
tree | 7785e814dfe7f5006822507c7c8a876eb9e09735 /drivers/gpu/drm/amd/amdgpu/soc15.c | |
parent | d58c5d9a42050c93f17ba82aaff0f34a30761ac7 (diff) |
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.c | 3 |
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) | |||
712 | AMD_CG_SUPPORT_SDMA_MGCG | | 712 | AMD_CG_SUPPORT_SDMA_MGCG | |
713 | AMD_CG_SUPPORT_SDMA_LS | | 713 | AMD_CG_SUPPORT_SDMA_LS | |
714 | AMD_CG_SUPPORT_VCN_MGCG; | 714 | AMD_CG_SUPPORT_VCN_MGCG; |
715 | adev->pg_flags = AMD_PG_SUPPORT_SDMA; | 715 | |
716 | adev->pg_flags = AMD_PG_SUPPORT_SDMA | AMD_PG_SUPPORT_VCN; | ||
716 | 717 | ||
717 | if (adev->powerplay.pp_feature & PP_GFXOFF_MASK) | 718 | if (adev->powerplay.pp_feature & PP_GFXOFF_MASK) |
718 | adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | | 719 | adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG | |