diff options
author | Lancelot SIX <lancelot.six@amd.com> | 2025-01-28 22:16:49 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-13 03:47:15 +0300 |
commit | d584198a6fe4c51f4aa88ad72f258f8961a0f11c (patch) | |
tree | 653ba967937093d338ed8beee6ead9425b5610cd /scripts/extract-fwblobs | |
parent | a0a455b4bc7483ad60e8b8a50330c1e05bb7bfcf (diff) | |
download | linux-d584198a6fe4c51f4aa88ad72f258f8961a0f11c.tar.xz |
drm/amdkfd: Ensure consistent barrier state saved in gfx12 trap handler
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
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions