drm/amdkfd: Implement wave control debugger IOCTL
authorYair Shachar <yair.shachar@amd.com>
Wed, 20 May 2015 11:09:24 +0000 (14:09 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 3 Jun 2015 08:33:26 +0000 (11:33 +0300)
commit9448458998e27be7fcb9ebc58200be45a6429451
tree15f5c55739877c650adaafa29bcd0c0f920b1cd6
parent037ed9a2ac262e496bb0ddc924895e5f72969961
drm/amdkfd: Implement wave control debugger IOCTL

v2:

- rename get_dbgmgr_mutex to kfd_get_dbgmgr_mutex to namespace it
- change void* to uint64_t inside ioctl arguments
- use kmalloc instead of kzalloc because we use copy_from_user
  immediately after it

Signed-off-by: Yair Shachar <yair.shachar@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c