mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-14 10:15:13 +00:00
drm/amdkfd: Add trap handler for CWSR
The trap handler is like an interrupt handler running on the GPU compute unit. It is needed for supporting CWSR (compute wave save/restore). This file defines an array with the pre-compiled GFXv8 shader ISA. The assembly code is included for reference in #if 0 ... #endif. Signed-off-by: Shaoyun.liu <shaoyun.liu@amd.com> Signed-off-by: Jay Cornwall <Jay.Cornwall@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
parent
b20cd0df15
commit
449fea6126
1 changed files with 1384 additions and 0 deletions
1384
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx8.asm
Normal file
1384
drivers/gpu/drm/amd/amdkfd/cwsr_trap_handler_gfx8.asm
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue