amdgpu: fix for submition with no ibs
authorKen Wang <Qingqing.Wang@amd.com>
Thu, 4 Feb 2016 05:52:22 +0000 (13:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Feb 2016 17:26:43 +0000 (12:26 -0500)
commitf884af9b57ff480d3c87870d8b40055d9c8c6cfe
tree5d129a40a4a27bc04e4156765ce1ff98c3adb123
parent6950af4e8475fa969ba46675fe2665c842fc4b79
amdgpu: fix for submition with no ibs

Avoid a crash if no IBs are specified.

Signed-off-by: Ken Wang <Qingqing.Wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
amdgpu/amdgpu_cs.c
amdgpu/amdgpu_internal.h