amdkfd: Implement the create/destroy/update queue IOCTLs
authorOded Gabbay <oded.gabbay@amd.com>
Sun, 19 Oct 2014 20:46:40 +0000 (23:46 +0300)
committerOded Gabbay <oded.gabbay@amd.com>
Sun, 19 Oct 2014 20:46:40 +0000 (23:46 +0300)
commit39b027d957d4a9666a815ccf5bdce82e7796b2c6
tree72bd244756b47f72a69d88c2cc8a71bd4f383d97
parentb3f5e6b4412e69ebd7094c51aa345188a30a5cbe
amdkfd: Implement the create/destroy/update queue IOCTLs

v3: Removed the use of internal typedefs, fixed debug prints, added checks
    for parameters and moved to using doorbell address from user

v4: Extracted some of the code in the create queue ioctl to a different
    function that may be also called from other ioctls in the future.
    Also fixed the check of the ring size argument.

v5:

Add support for AQL queues creation to enable working with open-source HSA
runtime

Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c