diff options
author | Sonny Jiang <[email protected]> | 2023-10-16 16:49:53 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-05-02 16:18:14 -0400 |
commit | f19cfce87d9416d050399ae56a00f2060eab85f4 (patch) | |
tree | 18b50b7b77a04f7de5665664d217ca2d49f35ba1 | |
parent | f8f8e95c5f1b115f117977ff837c1440407cf7b5 (diff) |
drm/amdgpu/jpeg5: enable power gating
Enable PG on JPEG5
Signed-off-by: Sonny Jiang <[email protected]>
Reviewed-by: Leo Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc24.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc24.c b/drivers/gpu/drm/amd/amdgpu/soc24.c index c8cb255b6cf6..9c14f81c88a7 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc24.c +++ b/drivers/gpu/drm/amd/amdgpu/soc24.c @@ -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; |