Skip to content

Commit 31e0a58

Browse files
yifancomalexdeucher
authored andcommitted
drm/amdgpu: add MMHUB 3.3.1 support
This patch to add MMHUB 3.3.1 support. v2: squash in fault info fix (Alex) Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 385d9f7 commit 31e0a58

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ static void gmc_v11_0_set_mmhub_funcs(struct amdgpu_device *adev)
571571
adev->mmhub.funcs = &mmhub_v3_0_2_funcs;
572572
break;
573573
case IP_VERSION(3, 3, 0):
574+
case IP_VERSION(3, 3, 1):
574575
adev->mmhub.funcs = &mmhub_v3_3_funcs;
575576
break;
576577
default:

drivers/gpu/drm/amd/amdgpu/mmhub_v3_3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ mmhub_v3_3_print_l2_protection_fault_status(struct amdgpu_device *adev,
9898

9999
switch (amdgpu_ip_version(adev, MMHUB_HWIP, 0)) {
100100
case IP_VERSION(3, 3, 0):
101+
case IP_VERSION(3, 3, 1):
101102
mmhub_cid = mmhub_client_ids_v3_3[cid][rw];
102103
break;
103104
default:

0 commit comments

Comments
 (0)