summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-08-10 17:27:23 +0200
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 16:51:14 -0400
commitdb789d34514b1b1bec20b30f9ae0b61c36f028b8 (patch)
tree7050da4d7c2eb8d1ceae3071031a874a7e020615
parent5516ab86a873efc78fc356b0979294203f1cffb0 (diff)
downloadblackbird-op-linux-db789d34514b1b1bec20b30f9ae0b61c36f028b8.tar.gz
blackbird-op-linux-db789d34514b1b1bec20b30f9ae0b61c36f028b8.zip
drm/amdgpu: fix scheduler fence implementation
Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
-rw-r--r--drivers/gpu/drm/amd/scheduler/sched_fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/scheduler/sched_fence.c b/drivers/gpu/drm/amd/scheduler/sched_fence.c
index d580a357c547..235f4f251926 100644
--- a/drivers/gpu/drm/amd/scheduler/sched_fence.c
+++ b/drivers/gpu/drm/amd/scheduler/sched_fence.c
@@ -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
OpenPOWER on IntegriCloud