diff options
author | Chunming Zhou <david1.zhou@amd.com> | 2015-08-03 23:30:09 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-08-17 16:50:59 -0400 |
commit | 7484667c6a8a9122d139a287454bc9c8799c3def (patch) | |
tree | e5c9174094b10ab1d4cb4b0af5567958876fe191 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 27f6642d066ecea7b535dd9b24e2f41e54f3dd85 (diff) |
drm/amdgpu: move sched job process from isr to fence callback
This way can avoid interrupt lost, and can process sched job exactly.
Signed-off-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index e1f093c1f011..4d6a3e825096 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -404,7 +404,7 @@ struct amdgpu_fence_driver { | |||
404 | 404 | ||
405 | struct amdgpu_fence { | 405 | struct amdgpu_fence { |
406 | struct fence base; | 406 | struct fence base; |
407 | 407 | struct fence_cb cb; | |
408 | /* RB, DMA, etc. */ | 408 | /* RB, DMA, etc. */ |
409 | struct amdgpu_ring *ring; | 409 | struct amdgpu_ring *ring; |
410 | uint64_t seq; | 410 | uint64_t seq; |