mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/amdgpu: complement the IH node_id table for multiple AIDs
With different node_id, the SDMA interrupt from multiple AIDs can be distinguished by sw driver. Signed-off-by: Le Ma <le.ma@amd.com> Acked-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -100,12 +100,16 @@ const char *soc15_ih_clientid_name[] = {
|
||||
};
|
||||
|
||||
const int node_id_to_phys_map[NODEID_MAX] = {
|
||||
[AID0_NODEID] = 0,
|
||||
[XCD0_NODEID] = 0,
|
||||
[XCD1_NODEID] = 1,
|
||||
[AID1_NODEID] = 1,
|
||||
[XCD2_NODEID] = 2,
|
||||
[XCD3_NODEID] = 3,
|
||||
[AID2_NODEID] = 2,
|
||||
[XCD4_NODEID] = 4,
|
||||
[XCD5_NODEID] = 5,
|
||||
[AID3_NODEID] = 3,
|
||||
[XCD6_NODEID] = 6,
|
||||
[XCD7_NODEID] = 7,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user