mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
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>
This commit is contained in:
parent
d58c5d9a42
commit
61c8e90d96
1 changed files with 2 additions and 1 deletions
|
|
@ -712,7 +712,8 @@ static int soc15_common_early_init(void *handle)
|
||||||
AMD_CG_SUPPORT_SDMA_MGCG |
|
AMD_CG_SUPPORT_SDMA_MGCG |
|
||||||
AMD_CG_SUPPORT_SDMA_LS |
|
AMD_CG_SUPPORT_SDMA_LS |
|
||||||
AMD_CG_SUPPORT_VCN_MGCG;
|
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)
|
if (adev->powerplay.pp_feature & PP_GFXOFF_MASK)
|
||||||
adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
|
adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue