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>
Thu, 17 Oct 2019 21:12:34 +0000 (17:12 -0400)
commitde51a5019ff32960218da8fd899fa3f361b031e9
tree831c5ee716cd8248315d9a95d97185a74ef5f776
parent3122051edc7c27cc08534be730f4c7c180919b8a
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