drm/amdgpu: fix scheduler fence implementation

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
This commit is contained in:
Christian König 2015-08-10 17:27:23 +02:00 committed by Alex Deucher
parent 5516ab86a8
commit db789d3451

View File

@ -68,7 +68,7 @@ bool amd_sched_check_ts(struct amd_sched_entity *s_entity, uint64_t v_seq)
void amd_sched_fence_signal(struct amd_sched_fence *fence) void amd_sched_fence_signal(struct amd_sched_fence *fence)
{ {
if (amd_sched_check_ts(fence->entity, fence->v_seq)) { if (amd_sched_check_ts(fence->entity, fence->v_seq)) {
int ret = fence_signal_locked(&fence->base); int ret = fence_signal(&fence->base);
if (!ret) if (!ret)
FENCE_TRACE(&fence->base, "signaled from irq context\n"); FENCE_TRACE(&fence->base, "signaled from irq context\n");
else else