[PATCH v3 2/6] drm/amdgpu: add lsdma interrupt src id

Yifan Zhang yifan1.zhang at amd.com
Tue Nov 21 07:30:10 UTC 2023


This patch is to add lsdma interrupt src id.

Signed-off-by: Yifan Zhang <yifan1.zhang at amd.com>
Reviewed-by: Tim Huang <Tim.Huang at amd.com>
Reviewed-by: Lang Yu <lang.yu at amd.com>
---
 drivers/gpu/drm/amd/include/ivsrcid/gfx/irqsrcs_gfx_11_0_0.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/include/ivsrcid/gfx/irqsrcs_gfx_11_0_0.h b/drivers/gpu/drm/amd/include/ivsrcid/gfx/irqsrcs_gfx_11_0_0.h
index 3a4670bc4449..cbdf46a3c9ab 100644
--- a/drivers/gpu/drm/amd/include/ivsrcid/gfx/irqsrcs_gfx_11_0_0.h
+++ b/drivers/gpu/drm/amd/include/ivsrcid/gfx/irqsrcs_gfx_11_0_0.h
@@ -28,6 +28,8 @@
 #define GFX_11_0_0__SRCID__UTCL2_DATA_POISONING                 1       // UTCL2 for data poisoning
 
 #define GFX_11_0_0__SRCID__MEM_ACCES_MON		                10		// 0x0A EA memory access monitor interrupt
+																		//
+#define GFX_11_0_0__SRCID__LSDMA_TRAP                            49      // 0x31 Trap
 
 #define GFX_11_0_0__SRCID__SDMA_ATOMIC_RTN_DONE                 48      // 0x30 SDMA atomic*_rtn ops complete
 #define GFX_11_0_0__SRCID__SDMA_TRAP                            49      // 0x31 Trap
-- 
2.37.3



More information about the amd-gfx mailing list