Skip to content

Commit

Permalink
drm/amdgpu: add soc21 common ip block support for GC 11.0.4
Browse files Browse the repository at this point in the history
[ Upstream commit 311d523 ]

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>
Stable-dep-of: e1d900d ("drm/amdgpu: enable VCN DPG for GC IP v11.0.4")
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
Yifan Zhang authored and gregkh committed Jan 18, 2023
1 parent d90de26 commit 6ef4543
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/gpu/drm/amd/amdgpu/soc21.c
Expand Up @@ -653,6 +653,12 @@ static int soc21_common_early_init(void *handle)
}
adev->external_rev_id = adev->rev_id + 0x20;
break;
case IP_VERSION(11, 0, 4):
adev->cg_flags = 0;
adev->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x1;
break;

default:
/* FIXME: not supported yet */
return -EINVAL;
Expand Down

0 comments on commit 6ef4543

Please sign in to comment.