mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
drm/amdkfd: add extended capabilities to device snapshot
Add additional capabilities reporting. Signed-off-by: Jonathan Kim <jonathan.kim@amd.com> Reviewed-by: James Zhu <james.zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
e0d11bdb29
commit
e698127eb7
|
|
@ -1108,6 +1108,7 @@ int kfd_dbg_trap_device_snapshot(struct kfd_process *target,
|
|||
device_info.num_xcc = NUM_XCC(pdd->dev->xcc_mask);
|
||||
device_info.capability = topo_dev->node_props.capability;
|
||||
device_info.debug_prop = topo_dev->node_props.debug_prop;
|
||||
device_info.capability2 = topo_dev->node_props.capability2;
|
||||
|
||||
if (exception_clear_mask)
|
||||
pdd->exception_status &= ~exception_clear_mask;
|
||||
|
|
|
|||
|
|
@ -149,6 +149,8 @@ struct kfd_dbg_device_info_entry {
|
|||
__u32 num_xcc;
|
||||
__u32 capability;
|
||||
__u32 debug_prop;
|
||||
__u32 capability2;
|
||||
__u32 pad;
|
||||
};
|
||||
|
||||
/* For kfd_ioctl_set_memory_policy_args.default_policy and alternate_policy */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user