]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdkfd: gfx12.1 cluster barrier context save workaround
authorJay Cornwall <jay.cornwall@amd.com>
Fri, 16 Jan 2026 18:30:44 +0000 (12:30 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Jan 2026 19:18:36 +0000 (14:18 -0500)
commit29b703d7addf767b99ba4af98ecddd5c1c91ef38
treeb874b205f6d2be71ca8073c4e926b4d595d3b628
parentea89b305b6364ea8190b5ee108b9d122e2886f34
drm/amdkfd: gfx12.1 cluster barrier context save workaround

Trap cluster barrier may not serialize with user cluster barrier
under some circumstances. Add a check for pending user cluster
barrier complete.

Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Tested-by: Gang Ba <Gang.Ba@amd.com>
Cc: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Lancelot Six <lancelot.six@amd.com>
Cc: Vladimir Indic <vladimir.indic@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_gfx12.asm