mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 17:57:38 -04:00
drm/amdkfd: flag per-sdma queue reset supported to user space
Similar to compute queue reset, flag SDMA queue reset capabilities to user space for safe testing. Signed-off-by: Jonathan Kim <jonathan.kim@amd.com> Reviewed-by: Harish Kasiviswanathan <harish.kasiviswanathan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
bac38ca8c4
commit
ceb7114c96
@@ -63,6 +63,9 @@
|
||||
#define HSA_CAP_PER_QUEUE_RESET_SUPPORTED 0x80000000
|
||||
#define HSA_CAP_RESERVED 0x000f8000
|
||||
|
||||
#define HSA_CAP2_PER_SDMA_QUEUE_RESET_SUPPORTED 0x00000001
|
||||
#define HSA_CAP2_RESERVED 0xfffffffe
|
||||
|
||||
/* debug_prop bits in node properties */
|
||||
#define HSA_DBG_WATCH_ADDR_MASK_LO_BIT_MASK 0x0000000f
|
||||
#define HSA_DBG_WATCH_ADDR_MASK_LO_BIT_SHIFT 0
|
||||
|
||||
Reference in New Issue
Block a user