drm/amdgpu: cleanup in kernel job submission
authorChristian König <christian.koenig@amd.com>
Mon, 1 Feb 2016 11:20:25 +0000 (12:20 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Feb 2016 19:17:22 +0000 (14:17 -0500)
commitd71518b5aa7c9c298ffbd12ddd23297e3373a37b
treebb548c89c8f21770cdf7086fee8c1c92aea1fa64
parenta0332b56f6e03e15946fb9d8813cfe44aeeb0e6c
drm/amdgpu: cleanup in kernel job submission

Add a job_alloc_with_ib helper and proper job submission.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c