]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: Replace deprecated gfx12 trap handler instructions
authorJay Cornwall <jay.cornwall@amd.com>
Thu, 23 May 2024 13:58:11 +0000 (08:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 May 2024 18:48:30 +0000 (14:48 -0400)
commitc5e358913d92bf32ce0d199c133b2c5ffd1e980d
tree13c5f391bb6eeb4e156f6f0e468096b2b80dda76
parentdec4f2d224ed7cae488189013a238432b383bfeb
drm/amdkfd: Replace deprecated gfx12 trap handler instructions

Newer assemblers reject S_WAITCNT. All instances of S_WAITCNT can be
replaced by S_WAITCNT 0 (< gfx12) or S_WAIT_IDLE (>= gfx12) since
there is no concurrency of different memory instruction classes.

Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Reviewed-by: Lancelot Six <lancelot.six@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler.h
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx10.asm