]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb31800eb4030caa3d0e146af0593caf421528258
treeff2abfaca81440091145f2e9d5639080f6468959
parent808ca613571daa43e7d6dd3e26e3983005e72fe2
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