Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: add soc21 common ip block support for GC 11.0.4

Add common soc21 ip block support for GC 11.0.4.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Yifan Zhang and committed by
Alex Deucher
311d5236 1763cb65

+6
+6
drivers/gpu/drm/amd/amdgpu/soc21.c
··· 644 644 AMD_PG_SUPPORT_JPEG; 645 645 adev->external_rev_id = adev->rev_id + 0x20; 646 646 break; 647 + case IP_VERSION(11, 0, 4): 648 + adev->cg_flags = 0; 649 + adev->pg_flags = 0; 650 + adev->external_rev_id = adev->rev_id + 0x1; 651 + break; 652 + 647 653 default: 648 654 /* FIXME: not supported yet */ 649 655 return -EINVAL;