]> git.baikalelectronics.ru Git - 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)
commit9e8eab195a66d4612679449b99349e0a4cb818d3
tree1a7f94a784593e9da9a02d801f28d46ac4dbafa7
parente38818404d3ebdc3107cb0a31050b216792acbc4
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