drm/amdgpu: free the job immediately after dispatching it
authorChristian König <christian.koenig@amd.com>
Tue, 18 Aug 2015 13:30:26 +0000 (15:30 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Aug 2015 21:05:01 +0000 (17:05 -0400)
commitbf7ebaeed4dca7c0a7f9d9a44efbd9f74cf22c5d
treeed2bc31b1bd972c177a41f74f3eafee0e88be117
parent2b184d8dbc002d3ef26e4827dd5a80d57533dcae
drm/amdgpu: free the job immediately after dispatching it

Fixes a whole bunch of lockdep warnings.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c