drm/amdkfd: New IOCTL to allocate queue GWS
authorOak Zeng <Oak.Zeng@amd.com>
Tue, 7 May 2019 03:11:14 +0000 (22:11 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 May 2019 19:44:31 +0000 (14:44 -0500)
commit1a058c3376765ee31d65e28cbbb9d4ff15120056
treecbb619dc524ae65c831aaab75d351f4f04788a0b
parenteb82da1dc4429c026a165f419f8c76d7bbdcf26f
drm/amdkfd: New IOCTL to allocate queue GWS

Add a new kfd ioctl to allocate queue GWS. Queue
GWS is released on queue destroy.

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
include/uapi/linux/kfd_ioctl.h