drm/amdgpu: fix error handling in amdgpu_bo_list_create
authorChristian König <christian.koenig@amd.com>
Wed, 18 Sep 2019 17:42:14 +0000 (19:42 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2019 19:50:07 +0000 (15:50 -0400)
commitb14657001046d79439bd75f320a486d64c2f4845
tree4dd0fef3ac49b5aad64aa947887a3c106bd34b9c
parent820924745b760d8c1bb72f9b5dea20673beafe2a
drm/amdgpu: fix error handling in amdgpu_bo_list_create

We need to drop normal and userptr BOs separately.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c