Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Jonathan Kim and committed by
Alex Deucher
e698127e e0d11bdb

+3
+1
drivers/gpu/drm/amd/amdkfd/kfd_debug.c
··· 1108 1108 device_info.num_xcc = NUM_XCC(pdd->dev->xcc_mask); 1109 1109 device_info.capability = topo_dev->node_props.capability; 1110 1110 device_info.debug_prop = topo_dev->node_props.debug_prop; 1111 + device_info.capability2 = topo_dev->node_props.capability2; 1111 1112 1112 1113 if (exception_clear_mask) 1113 1114 pdd->exception_status &= ~exception_clear_mask;
+2
include/uapi/linux/kfd_ioctl.h
··· 149 149 __u32 num_xcc; 150 150 __u32 capability; 151 151 __u32 debug_prop; 152 + __u32 capability2; 153 + __u32 pad; 152 154 }; 153 155 154 156 /* For kfd_ioctl_set_memory_policy_args.default_policy and alternate_policy */