diff options
author | Rob Clark <[email protected]> | 2021-11-16 07:55:45 -0800 |
---|---|---|
committer | Christian König <[email protected]> | 2021-11-17 08:21:03 +0100 |
commit | 963d0b3569354230f6e2c36a286ef270a8901878 (patch) | |
tree | c148760d3b3c6d0730b5d4269d0a77e49fcbf378 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 4eaf02d6076c138d929f98b4c8afc4fef6d2915d (diff) |
drm/scheduler: fix drm_sched_job_add_implicit_dependencies harder
drm_sched_job_add_dependency() could drop the last ref, so we need to do
the dma_fence_get() first.
Cc: Christian König <[email protected]>
Fixes: 9c2ba265352a ("drm/scheduler: use new iterator in drm_sched_job_add_implicit_dependencies v2")
Signed-off-by: Rob Clark <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Daniel Vetter <[email protected]>
Reviewed-by: Christian König <[email protected]>
Tested-by: Amit Pundir <[email protected]>
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions