]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: show warning when kfd is locked
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Tue, 21 Jan 2020 19:34:51 +0000 (14:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Feb 2020 21:00:47 +0000 (16:00 -0500)
commit564175960acc2b4f41e876a93950ecbaf35affd4
treeaeb4da47f0b2e231c51cb3201e910fe9b7e950f9
parentbaf2adac8f1e58c958896c955fcea2f26c8d61ca
drm/amdkfd: show warning when kfd is locked

During system suspend the kfd driver aquires a lock that prohibits
further kfd actions unless the gpu is resumed. This adds some info which
can be useful while debugging.

Reviewed-by: Oak Zeng <oak.zeng@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c