drm/amdkfd: Return proper error code for gws alloc API
authorOak Zeng <Oak.Zeng@amd.com>
Tue, 28 May 2019 19:51:49 +0000 (14:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 May 2019 15:39:33 +0000 (10:39 -0500)
commit443e902eeef96f3bed54a7067c50a07f06074373
treee5ae5f0f123a521eefd47132589f302456601b09
parent4fd334122399a133ddaee8ef865eb10a1cf8000f
drm/amdkfd: Return proper error code for gws alloc API

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c