drm/amdgpu: make sure the fence is emitted before ring to get it.
authorChunming Zhou <david1.zhou@amd.com>
Tue, 21 Jul 2015 07:53:04 +0000 (15:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:50:35 +0000 (16:50 -0400)
commit59e20e303aae6389930bdd5591251a932107f0e8
tree7445ec7982f1fac5e517097bedd72cc752c41889
parente5feffd7523e0e4aa9b5a699246746af9214c57a
drm/amdgpu: make sure the fence is emitted before ring to get it.

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