Skip to content
Commit f3823da7 authored by Rob Clark's avatar Rob Clark Committed by Rob Clark
Browse files

drm/scheduler: Add fence deadline support



As the finished fence is the one that is exposed to userspace, and
therefore the one that other operations, like atomic update, would
block on, we need to propagate the deadline from from the finished
fence to the actual hw fence.

v2: Split into drm_sched_fence_set_parent() (ckoenig)
v3: Ensure a thread calling drm_sched_fence_set_deadline_finished() sees
    fence->parent set before drm_sched_fence_set_parent() does this
    test_bit(DMA_FENCE_FLAG_HAS_DEADLINE_BIT).

Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Acked-by: default avatarLuben Tuikov <luben.tuikov@amd.com>
parent d71c11cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment