• Lucas Stach's avatar
    drm/etnaviv: protect sched job submission with fence mutex · a0780bb1
    Lucas Stach authored
    The documentation of drm_sched_job_init and drm_sched_entity_push_job has
    been clarified. Both functions should be called under a shared lock, to
    avoid jobs getting pushed into the scheduler queue in a different order
    than their sched_fence seqnos, which will confuse checks that are looking
    at the seqnos to infer information about completion order.
    Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
    a0780bb1
etnaviv_gem_submit.c 14.2 KB