mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
drm/amdgpu/jpeg5: enable power gating
Enable PG on JPEG5 Signed-off-by: Sonny Jiang <sonny.jiang@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
f8f8e95c5f
commit
f19cfce87d
@@ -359,7 +359,8 @@ static int soc24_common_early_init(void *handle)
|
||||
break;
|
||||
case IP_VERSION(12, 0, 1):
|
||||
adev->cg_flags = 0;
|
||||
adev->pg_flags = AMD_PG_SUPPORT_VCN;
|
||||
adev->pg_flags = AMD_PG_SUPPORT_VCN |
|
||||
AMD_PG_SUPPORT_JPEG;
|
||||
adev->external_rev_id = adev->rev_id + 0x50;
|
||||
adev->cg_flags = AMD_CG_SUPPORT_GFX_CGCG |
|
||||
AMD_CG_SUPPORT_GFX_CGLS;
|
||||
|
||||
Reference in New Issue
Block a user