[PATCH 6.13 016/138] drm/amdkfd: Ensure consistent barrier state saved in gfx12 trap handler