]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/amdkfd: Add GPU reset SMI event
authorMukul Joshi <mukul.joshi@amd.com>
Fri, 28 Aug 2020 22:50:42 +0000 (18:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 31 Aug 2020 18:40:03 +0000 (14:40 -0400)
commit55977744f9d862512a524fea93fc5226b09e76a9
tree01900fe5c5e88e9d0ed793b118543fb885174453
parente230ac11182b3d9f8448498e925e479bcd1e79f7
drm/amdkfd: Add GPU reset SMI event

Add support for reporting GPU reset events through SMI. KFD
would report both pre and post GPU reset events.

Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h
include/uapi/linux/kfd_ioctl.h