drm/amdgpu: fix bug occurs when bo_list is NULL
authormonk.liu <monk.liu@amd.com>
Mon, 27 Apr 2015 07:19:20 +0000 (15:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:03:21 +0000 (21:03 -0400)
commit840d51445f1527bda37b5d48a203ecff7988ad2b
tree9c625a575fd362a003afcdeb55a4c72db92cad6c
parent7ab7e8a4096d2af80613113ae4bea497b4f0baf5
drm/amdgpu: fix bug occurs when bo_list is NULL

Still need to handle ibs BO and validate them even bo_list is NULL

Signed-off-by: Monk.Liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c