[PATCH v2 1/5] drm/sched: Create wrapper to add a syncobj dependency to job
Maíra Canal
mcanal at igalia.com
Fri Feb 24 21:24:26 UTC 2023
On 2/9/23 09:44, Maíra Canal wrote:
> In order to add a syncobj's fence as a dependency to a job, it is
> necessary to call drm_syncobj_find_fence() to find the fence and then
> add the dependency with drm_sched_job_add_dependency(). So, wrap these
> steps in one single function, drm_sched_job_add_syncobj_dependency().
>
> Reviewed-by: Christian König <christian.koenig at amd.com>
> Reviewed-by: Luben Tuikov <luben.tuikov at amd.com>
> Signed-off-by: Maíra Canal <mcanal at igalia.com>
> ---
> drivers/gpu/drm/scheduler/sched_main.c | 29 ++++++++++++++++++++++++++
> include/drm/gpu_scheduler.h | 6 ++++++
> 2 files changed, 35 insertions(+)
>
Applied to drm-misc-next.
Best Regards,
- Maíra Canal
More information about the dri-devel
mailing list