drm/amdgpu: return error if both BOs and bo_list handle is given
authorChristian König <christian.koenig@amd.com>
Mon, 30 Jul 2018 14:18:54 +0000 (16:18 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Jul 2018 21:58:17 +0000 (16:58 -0500)
commit0cb7c1f03bfb3991120313c5927c1749041ef800
tree0c841abfdfe5dda5babed44dd59850b0deca0e5a
parent275105ce7be37a2cc80eb1b60e6526355f54df94
drm/amdgpu: return error if both BOs and bo_list handle is given

Return -EINVAL when both the BOs as well as a list handle is provided in
the IOCTL.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c