OSDN Git Service

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)
commit3c1224c02e995685bb386f259ae2f737eca739f3
treeaeb4da47f0b2e231c51cb3201e910fe9b7e950f9
parent70bedd68e7b3a7f1d7f3198bb698fc23bc5aaa68
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