drm/amdgpu: fix scheduler fence implementation
authorChristian König <christian.koenig@amd.com>
Mon, 10 Aug 2015 15:27:23 +0000 (17:27 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Aug 2015 20:51:14 +0000 (16:51 -0400)
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/scheduler/sched_fence.c

index d580a357c5477f7a6bd54e572d931ed2e84103e0..235f4f25192669a3f9ba071b7a0fc29b28053dec 100644 (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)
 {
        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)
                        FENCE_TRACE(&fence->base, "signaled from irq context\n");
                else