diff options
| author | Le Ma <[email protected]> | 2021-11-19 07:35:30 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-04-21 12:49:37 +0000 |
| commit | 47659738fbd2f06730635a487605002ea9b11f3d (patch) | |
| tree | 127c1ca4c4789371271b0286f32099618916e72d /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | |
| parent | drm/amd/amdgpu: Fix style errors in amdgpu_drv.c & amdgpu_device.c (diff) | |
| download | kernel-47659738fbd2f06730635a487605002ea9b11f3d.tar.gz kernel-47659738fbd2f06730635a487605002ea9b11f3d.zip | |
drm/amdgpu: allocate doorbell index for multi-die case
Allocate different doorbell index for kiq/kcq rings
on each die
Signed-off-by: Le Ma <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h index be243adf3e65..7a8e686bdd41 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h @@ -53,6 +53,7 @@ struct amdgpu_iv_entry { uint64_t timestamp; unsigned timestamp_src; unsigned pasid; + unsigned node_id; unsigned pasid_src; unsigned src_data[AMDGPU_IRQ_SRC_DATA_MAX_SIZE_DW]; const uint32_t *iv_entry; |
