drm/amdgpu: Reserve space for shared fence
authorOak Zeng <Oak.Zeng@amd.com>
Tue, 11 Jun 2019 16:15:00 +0000 (11:15 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Jun 2019 18:59:48 +0000 (13:59 -0500)
commit96cf624b164a55a09538460727ec1ad3d0719625
tree23bf07143dad1be3ac2b73407d5c84df6beb9bea
parentc5e4c6bbbdce750a52ae65c429384e7324a50fd3
drm/amdgpu: Reserve space for shared fence

Call reservation_object_reserve_shared to reserve
space for shared fence. Otherwise it will trigger
BUG_ON condition in reservation_object_add_shared_fence.

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Acked-by: Christian Konig <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c