drm/amdgpu: re-work sync_resv
authorChunming Zhou <david1.zhou@amd.com>
Mon, 24 Aug 2015 08:59:54 +0000 (16:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Sep 2015 16:05:08 +0000 (12:05 -0400)
commit423a9480add9d9afba035d3c2617034d5f766065
treebd7330e4ebbf786cf96802df3cbd04528fa7297f
parente39daf2c63518a8ce92e3ad5caa04097524b3585
drm/amdgpu: re-work sync_resv

sync_resv is to handle both amdgpu_fence and sched_fence.

Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Christian K?nig <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c