• Rob Clark's avatar
    drm/scheduler: Add fence deadline support · f3823da7
    Rob Clark authored
    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>
    f3823da7
sched_fence.c 6.58 KB