]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/amdgpu: add proper job alloc/free functions
authorChristian König <christian.koenig@amd.com>
Wed, 3 Feb 2016 12:44:52 +0000 (13:44 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Feb 2016 19:17:18 +0000 (14:17 -0500)
commit50838c8cc413de8da39c4c216ae05410845d5a44
tree1a7f94a784593e9da9a02d801f28d46ac4dbafa7
parent4acabfe3793eb9bf89f71cc0cef23dfb2a812916
drm/amdgpu: add proper job alloc/free functions

And use them in the CS instead of allocating IBs and jobs separately.

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_trace.h
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c