Skip to content

Commit a0b34e4

Browse files
committed
drm/amdgpu: update mmhub 4.1.0 client id mappings
Update the client id mapping so the correct clients get printed when there is a mmhub page fault. Tested-by: David (Ming Qiang) Wu <[email protected]> Reviewed-by: David (Ming Qiang) Wu <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent 2d418e4 commit a0b34e4

File tree

1 file changed

+13
-21
lines changed

1 file changed

+13
-21
lines changed

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

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -37,39 +37,31 @@
3737
static const char *mmhub_client_ids_v4_1_0[][2] = {
3838
[0][0] = "VMC",
3939
[4][0] = "DCEDMC",
40-
[5][0] = "DCEVGA",
4140
[6][0] = "MP0",
4241
[7][0] = "MP1",
4342
[8][0] = "MPIO",
44-
[16][0] = "HDP",
45-
[17][0] = "LSDMA",
46-
[18][0] = "JPEG",
47-
[19][0] = "VCNU0",
48-
[21][0] = "VSCH",
49-
[22][0] = "VCNU1",
50-
[23][0] = "VCN1",
51-
[32+20][0] = "VCN0",
52-
[2][1] = "DBGUNBIO",
43+
[16][0] = "LSDMA",
44+
[17][0] = "JPEG",
45+
[19][0] = "VCNU",
46+
[22][0] = "VSCH",
47+
[23][0] = "HDP",
48+
[32+23][0] = "VCNRD",
5349
[3][1] = "DCEDWB",
5450
[4][1] = "DCEDMC",
55-
[5][1] = "DCEVGA",
5651
[6][1] = "MP0",
5752
[7][1] = "MP1",
5853
[8][1] = "MPIO",
5954
[10][1] = "DBGU0",
6055
[11][1] = "DBGU1",
61-
[12][1] = "DBGU2",
62-
[13][1] = "DBGU3",
56+
[12][1] = "DBGUNBIO",
6357
[14][1] = "XDP",
6458
[15][1] = "OSSSYS",
65-
[16][1] = "HDP",
66-
[17][1] = "LSDMA",
67-
[18][1] = "JPEG",
68-
[19][1] = "VCNU0",
69-
[20][1] = "VCN0",
70-
[21][1] = "VSCH",
71-
[22][1] = "VCNU1",
72-
[23][1] = "VCN1",
59+
[16][1] = "LSDMA",
60+
[17][1] = "JPEG",
61+
[18][1] = "VCNWR",
62+
[19][1] = "VCNU",
63+
[22][1] = "VSCH",
64+
[23][1] = "HDP",
7365
};
7466

7567
static uint32_t mmhub_v4_1_0_get_invalidate_req(unsigned int vmid,

0 commit comments

Comments
 (0)