Commit db789d34 authored by Christian König's avatar Christian König Committed by Alex Deucher

drm/amdgpu: fix scheduler fence implementation

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarChunming Zhou <david1.zhou@amd.com>
parent 5516ab86
...@@ -68,7 +68,7 @@ bool amd_sched_check_ts(struct amd_sched_entity *s_entity, uint64_t v_seq) ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment