]> git.baikalelectronics.ru Git - 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)
commita911a550272215e45f990b73e9c11c79bf7f7e87
tree01900fe5c5e88e9d0ed793b118543fb885174453
parentc7e8487e2ff10f374a8fc3af3404ae41207e936a
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