diff options
author | Jay Cornwall <jay.cornwall@amd.com> | 2024-05-23 17:00:28 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-05 17:57:40 +0300 |
commit | fda812ebe3d95ed9c7c894b9a2d4bfc2926d46ec (patch) | |
tree | 0e7fbb929f9f7bd827bb4531f1ae77cb71edfe2c /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 813e7d4cd05e16fa578563e4c4e62f3de4ee34fc (diff) | |
download | linux-fda812ebe3d95ed9c7c894b9a2d4bfc2926d46ec.tar.xz |
drm/amdkfd: gfx12 context save/restore trap handler fixes
Fix LDS size interpretation: 512 bytes (>= gfx12) vs 256 (< gfx12).
Ensure STATE_PRIV.BARRIER_COMPLETE cannot change after reading or
before writing. Other waves in the threadgroup may cause this field
to assert if they complete the barrier.
Do not overwrite EXCP_FLAG_PRIV.{SAVE_CONTEXT,HOST_TRAP} when
restoring this register. Both of these fields can assert while the
wavefront is running the trap handler.
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>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions