drm/amdgpu: use dma_fence_chain_contained
authorChristian König <christian.koenig@amd.com>
Thu, 20 Jan 2022 11:05:40 +0000 (12:05 +0100)
committerChristian König <christian.koenig@amd.com>
Tue, 8 Feb 2022 08:25:40 +0000 (09:25 +0100)
commite09b9aef6807474d6964a2513321e174f5162e8e
treeae1ace977f7498893020b02bad886f0a7160f2d7
parent18f5fad275efef015226ee4f90eae34d8f44aa5e
drm/amdgpu: use dma_fence_chain_contained

Instead of manually extracting the fence.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220204100429.2049-7-christian.koenig@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c