summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c
diff options
context:
space:
mode:
authorJay Cornwall <jay.cornwall@amd.com>2024-05-23 09:00:28 -0500
committerAlex Deucher <alexander.deucher@amd.com>2024-06-05 10:57:40 -0400
commitfda812ebe3d95ed9c7c894b9a2d4bfc2926d46ec (patch)
tree0e7fbb929f9f7bd827bb4531f1ae77cb71edfe2c /drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c
parent813e7d4cd05e16fa578563e4c4e62f3de4ee34fc (diff)
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c')
0 files changed, 0 insertions, 0 deletions