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)
commit4b559c90bc1870313f02cceef680884519af6b2b
tree7445ec7982f1fac5e517097bedd72cc752c41889
parentb43a9a7e87d2bbb8d0c6ae4ff06dcc604f00e31a
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