drm/amdgpu/jpeg: enable JPEG PG for VCN4_0_4

Enable JPEG PG for VCN4_0_4.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Sonny Jiang <sonny.jiang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
James Zhu 2022-04-15 11:50:10 -04:00 committed by Alex Deucher
parent 71dae22143
commit ebac66a328
1 changed files with 2 additions and 1 deletions

View File

@ -550,7 +550,8 @@ static int soc21_common_early_init(void *handle)
case IP_VERSION(11, 0, 2):
adev->cg_flags =
AMD_CG_SUPPORT_JPEG_MGCG;
adev->pg_flags = 0;
adev->pg_flags =
AMD_PG_SUPPORT_JPEG;
adev->external_rev_id = adev->rev_id + 0x10;
break;
default: