Skip to content

Commit

Permalink
drm/amdkfd: Fix instruction hazard in gfx12 trap handler
Browse files Browse the repository at this point in the history
VALU instructions with SGPR source need wait states to avoid hazard
with SALU using different SGPR.

v2: Eliminate some hazards to reduce code explosion

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>
(cherry picked from commit 7e0459d)
Cc: stable@vger.kernel.org # 6.12.x
  • Loading branch information
Jay Cornwall authored and Alex Deucher committed Mar 18, 2025
1 parent 5ca0040 commit 424648c
Show file tree
Hide file tree
Showing 2 changed files with 404 additions and 355 deletions.
Loading

0 comments on commit 424648c

Please sign in to comment.