mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 15:13:44 -04:00
drm/amdgpu: enable JPEG3.0 PG and CG for Sienna_Cichlid
By setting up the flags to the ASIC Signed-off-by: Leo Liu <leo.liu@amd.com> Reviewed-by: James Zhu <James.Zhu@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -712,8 +712,10 @@ static int nv_common_early_init(void *handle)
|
||||
adev->external_rev_id = adev->rev_id + 0xa;
|
||||
break;
|
||||
case CHIP_SIENNA_CICHLID:
|
||||
adev->cg_flags = AMD_CG_SUPPORT_VCN_MGCG;
|
||||
adev->pg_flags = AMD_PG_SUPPORT_VCN;
|
||||
adev->cg_flags = AMD_CG_SUPPORT_VCN_MGCG |
|
||||
AMD_CG_SUPPORT_JPEG_MGCG;
|
||||
adev->pg_flags = AMD_PG_SUPPORT_VCN |
|
||||
AMD_PG_SUPPORT_JPEG;
|
||||
adev->external_rev_id = adev->rev_id + 0x28;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user