drm/amdgpu: fix seq in ctx_add_fence
authorChunming Zhou <david1.zhou@amd.com>
Thu, 30 Jul 2015 09:59:43 +0000 (17:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:50:43 +0000 (16:50 -0400)
commitd1ff9086c1b8e67390161599006a34056b437a72
treeaaaf8b04c136fb05fd9d863f501450974ac5cfcf
parent51b9db27d07869cf565ba135e97e2ed5f858612e
drm/amdgpu: fix seq in ctx_add_fence

if enabling scheduler, then the queued seq is assigned
when pushing job before emitting job.

Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian K?nig <christian.koenig@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_ib.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c