Re: [PATCH] drm/amdkfd: Use S_ENDPGM_SAVED in trap handler

2024-01-24 Thread Alex Deucher
On Wed, Jan 24, 2024 at 4:01 PM Jay Cornwall wrote: > > On 1/15/2024 13:07, Jay Cornwall wrote: > > This instruction has no functional difference to S_ENDPGM > > but allows performance counters to track save events correctly. > > > > Signed-off-by: Jay Cornwall Acked-by: Alex Deucher > > --- >

Re: [PATCH] drm/amdkfd: Use S_ENDPGM_SAVED in trap handler

2024-01-24 Thread Jay Cornwall
On 1/15/2024 13:07, Jay Cornwall wrote: > This instruction has no functional difference to S_ENDPGM > but allows performance counters to track save events correctly. > > Signed-off-by: Jay Cornwall > --- > drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h | 14 +++--- > .../gpu/drm/amd/

[PATCH] drm/amdkfd: Use S_ENDPGM_SAVED in trap handler

2024-01-15 Thread Jay Cornwall
This instruction has no functional difference to S_ENDPGM but allows performance counters to track save events correctly. Signed-off-by: Jay Cornwall --- drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h | 14 +++--- .../gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx10.asm | 2 +- .../gpu/dr