drm/amdgpu: fix bug of vm_bo_map (v2)
authormonk.liu <monk.liu@amd.com>
Mon, 25 May 2015 06:44:05 +0000 (14:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:03:53 +0000 (21:03 -0400)
commitca95261325cfdff85eb2c9107198c714e266cb5b
treed3c0e29c1c4eba85b0c07cf555a357956a18b294
parent7e5a547f64af66fd906f266f0e8c9bde213d025c
drm/amdgpu: fix bug of vm_bo_map (v2)

call reservation_object_reserve_shared before amdgpu_bo_fence

Signed-off-by: monk.liu <monk.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Jammy Zhou <jammy.zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c