提交 71dae221 编写于 作者: J James Zhu 提交者: Alex Deucher

drm/amdgpu/jpeg: enable JPEG CG for VCN4_0_4

Enable JPEG CG for VCN4_0_4.
Signed-off-by: NJames Zhu <James.Zhu@amd.com>
Reviewed-by: NSonny Jiang <sonny.jiang@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 fbd23b55
...@@ -548,7 +548,8 @@ static int soc21_common_early_init(void *handle) ...@@ -548,7 +548,8 @@ static int soc21_common_early_init(void *handle)
adev->external_rev_id = adev->rev_id + 0x1; // TODO: need update adev->external_rev_id = adev->rev_id + 0x1; // TODO: need update
break; break;
case IP_VERSION(11, 0, 2): case IP_VERSION(11, 0, 2):
adev->cg_flags = 0; adev->cg_flags =
AMD_CG_SUPPORT_JPEG_MGCG;
adev->pg_flags = 0; adev->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x10; adev->external_rev_id = adev->rev_id + 0x10;
break; break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册