• Lucas Stach's avatar
    drm/etnaviv: protect sched job submission with fence mutex · 68ddb659
    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>
    68ddb659
etnaviv_gem_submit.c 15.8 KB