diff options
author | Yair Shachar <yair.shachar@amd.com> | 2015-05-20 13:58:12 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2015-06-03 11:33:06 +0300 |
commit | 788bf83db3017f083ebb84c93f101607c769c3a7 (patch) | |
tree | adaff7b892ba670ecaeda13fdead3f813764410f /drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | |
parent | fbeb661bfa895dc14ea1f093edc5e6e80f1b6a95 (diff) | |
download | linux-788bf83db3017f083ebb84c93f101607c769c3a7.tar.gz linux-788bf83db3017f083ebb84c93f101607c769c3a7.tar.bz2 linux-788bf83db3017f083ebb84c93f101607c769c3a7.zip |
drm/amdkfd: Add wave control operation to debugger
The wave control operation supports several command types executed upon
existing wave fronts that belong to the currently debugged process.
The available commands are:
HALT - Freeze wave front(s) execution
RESUME - Resume freezed wave front(s) execution
KILL - Kill existing wave front(s)
Signed-off-by: Yair Shachar <yair.shachar@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c index a5dc8228b6b1..b08ec05658fe 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c @@ -915,7 +915,7 @@ out: return retval; } -static int amdkfd_fence_wait_timeout(unsigned int *fence_addr, +int amdkfd_fence_wait_timeout(unsigned int *fence_addr, unsigned int fence_value, unsigned long timeout) { |