]> 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)
commita443fe5e76dba57a47d8641c4bf6937f3bb06b2d
tree26c515f01560ece32c978c9a5bf2a0a4af27c1d4
parent45e878041842836ec1ec267295dd93a65245e2e3
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