]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: give a fence param to ib_free
authorMonk Liu <Monk.Liu@amd.com>
Thu, 17 Mar 2016 02:47:07 +0000 (10:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Mar 2016 15:53:34 +0000 (11:53 -0400)
commit9ddf00f72c21c585f40655a0d51665aac3c125f8
tree26c515f01560ece32c978c9a5bf2a0a4af27c1d4
parentb2d5932dc63ceaff728e58bc5a0d984923fbbc1c
drm/amdgpu: give a fence param to ib_free

thus amdgpu_ib_free() can hook sched fence to SA manager
in later patches.

BTW:
for amdgpu_free_job(), it should only fence_put() the
fence of the last ib once, so fix it as well in this patch.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/cik_sdma.c
drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c