drm/amdgpu: fix CS error handling v2
authorChristian König <christian.koenig@amd.com>
Tue, 18 Aug 2015 19:09:33 +0000 (21:09 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Aug 2015 21:06:10 +0000 (17:06 -0400)
commit26a6980cf40c67182bc36fa0b088ebed79796110
treeff2abfaca81440091145f2e9d5639080f6468959
parentb203dd95949ec8d5e30d53446408eb9a4d1bdc62
drm/amdgpu: fix CS error handling v2

Stop double freeing the the BO list by pulling the content
of amdgpu_cs_parser_prepare_job() into the IOCTL function again.

v2: better commit message

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