Commit ebac66a3 authored by James Zhu's avatar James Zhu Committed by Alex Deucher

drm/amdgpu/jpeg: enable JPEG PG for VCN4_0_4

Enable JPEG PG for VCN4_0_4.
Signed-off-by: default avatarJames Zhu <James.Zhu@amd.com>
Reviewed-by: default avatarSonny Jiang <sonny.jiang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 71dae221
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment