drm/amdgpu: return new seq_no for amd_sched_push_job
authorJammy Zhou <Jammy.Zhou@amd.com>
Fri, 31 Jul 2015 08:47:28 +0000 (16:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:50:56 +0000 (16:50 -0400)
commitea199cc9f825f3ef5aab3db5f00dcc639f8a8b02
tree1297194f3cec9c09ae474d6eda80ed8db7c40d6e
parentdd01d071957ded58d9bae3d3bf6061ada1d84692
drm/amdgpu: return new seq_no for amd_sched_push_job

It is clean to update last_queued_v_seq in the scheduler module

Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h