diff options
author | Rob Clark <robdclark@chromium.org> | 2021-11-16 07:55:45 -0800 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2023-11-02 17:12:56 +0530 |
commit | e4142db9c50bbfb435eec6203d3aa8a9b2f9b944 (patch) | |
tree | 6f0ade95513cc29901475455fbce8a44fe41bced /lib/test_objagg.c | |
parent | 2eb4b6afa92adc89040e6d7253fbfae9b6cf9e7f (diff) |
drm/scheduler: fix drm_sched_job_add_implicit_dependencies harderrb3-5.16-rc1-debug
drm_sched_job_add_dependency() could drop the last ref, so we need to do
the dma_fence_get() first.
Cc: Christian König <christian.koenig@amd.com>
Fixes: 9c2ba265352a ("drm/scheduler: use new iterator in drm_sched_job_add_implicit_dependencies v2")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211116155545.473311-1-robdclark@gmail.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Christian König <christian.koenig@amd.com>
Tested-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'lib/test_objagg.c')
0 files changed, 0 insertions, 0 deletions