summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLancelot SIX <lancelot.six@amd.com>2025-01-28 19:16:49 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-27 04:30:16 -0800
commite68f4717a2928aa499d07a4836c2b47b7a626b06 (patch)
treefe44b33f420ed6673b33d60d9a433a8a0f46ced3 /kernel
parent1d83efc7e7dd43974f187d7c6b677f226af2e718 (diff)
downloadlinux-e68f4717a2928aa499d07a4836c2b47b7a626b06.tar.gz
linux-e68f4717a2928aa499d07a4836c2b47b7a626b06.tar.bz2
linux-e68f4717a2928aa499d07a4836c2b47b7a626b06.zip
drm/amdkfd: Ensure consistent barrier state saved in gfx12 trap handler
[ Upstream commit d584198a6fe4c51f4aa88ad72f258f8961a0f11c ] It is possible for some waves in a workgroup to finish their save sequence before the group leader has had time to capture the workgroup barrier state. When this happens, having those waves exit do impact the barrier state. As a consequence, the state captured by the group leader is invalid, and is eventually incorrectly restored. This patch proposes to have all waves in a workgroup wait for each other at the end of their save sequence (just before calling s_endpgm_saved). Signed-off-by: Lancelot SIX <lancelot.six@amd.com> Reviewed-by: Jay Cornwall <jay.cornwall@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org # 6.12.x Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions