]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdkfd: update buffer_{store,load}_* modifiers for gfx940
authorLancelot SIX <lancelot.six@amd.com>
Fri, 12 Apr 2024 07:41:53 +0000 (08:41 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:26:51 +0000 (10:26 -0500)
commitccca9964303a64fbae015dfc2876dce0abde8afa
treefb33fa0f937112db7164a5790945cb4473522245
parent71985559a8f35c43e618453e202ebafab2e62d0a
drm/amdkfd: update buffer_{store,load}_* modifiers for gfx940

Instruction modifiers of the untyped vector memory buffer instructions
(MUBUF encoded) changed in gfx940.  The slc, scc and glc modifiers have
been replaced with sc0, sc1 and nt.

The current CWSR trap handler is written using pre-gfx940 modifier
names, making the source incompatible with a strict gfx940 assembler.

This patch updates the cwsr_trap_handler_gfx9.s source file to be
compatible with all gfx9 variants of the ISA.  The binary assembled code
is unchanged (so the behaviour is unchanged as well), only the source
representation is updated.

Signed-off-by: Lancelot SIX <lancelot.six@amd.com>
Reviewed-by: Jay Cornwall <jay.cornwall@amd.com>
Acked-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx9.asm