RE: [PATCH] drm/amdkfd: Enable SQ watchpoint for gfx10

2024-04-15 Thread Kim, Jonathan
[Public] > -Original Message- > From: Six, Lancelot > Sent: Friday, April 12, 2024 8:54 AM > To: amd-gfx@lists.freedesktop.org > Cc: Kim, Jonathan ; Six, Lancelot > > Subject: [PATCH] drm/amdkfd: Enable SQ watchpoint for gfx10 > > There are new control registe

[PATCH] drm/amdkfd: Enable SQ watchpoint for gfx10

2024-04-12 Thread Lancelot SIX
There are new control registers introduced in gfx10 used to configure hardware watchpoints triggered by SMEM instructions: SQ_WATCH{0,1,2,3}_{CNTL_ADDR_HI,ADDR_L}. Those registers work in a similar way as the TCP_WATCH* registers currently used for gfx9 and above. This patch adds support to