drm/amdkfd: Implement address watch debugger IOCTL
authorYair Shachar <yair.shachar@amd.com>
Wed, 20 May 2015 11:09:39 +0000 (14:09 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 3 Jun 2015 08:34:35 +0000 (11:34 +0300)
commitf8bd13338a9a42358158954251969e66934ec3d1
treeaf276c178c11f7aeba8597ec2f6acc912745166a
parent9448458998e27be7fcb9ebc58200be45a6429451
drm/amdkfd: Implement address watch 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