mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
drm/amdgpu: add node_id to physical id conversion in EOP handler
A new field nodeid in interrupt cookie indicates the node ID. Signed-off-by: Le Ma <le.ma@amd.com> Reviewed-by: Shiwu Zhang <shiwu.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -99,6 +99,17 @@ const char *soc15_ih_clientid_name[] = {
|
||||
"MP1"
|
||||
};
|
||||
|
||||
const int node_id_to_phys_map[NODEID_MAX] = {
|
||||
[XCD0_NODEID] = 0,
|
||||
[XCD1_NODEID] = 1,
|
||||
[XCD2_NODEID] = 2,
|
||||
[XCD3_NODEID] = 3,
|
||||
[XCD4_NODEID] = 4,
|
||||
[XCD5_NODEID] = 5,
|
||||
[XCD6_NODEID] = 6,
|
||||
[XCD7_NODEID] = 7,
|
||||
};
|
||||
|
||||
/**
|
||||
* amdgpu_irq_disable_all - disable *all* interrupts
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user