]> git.baikalelectronics.ru Git - kernel.git/commit
drm/scheduler: fix drm_sched_job_add_implicit_dependencies
authorChristian König <christian.koenig@amd.com>
Mon, 18 Oct 2021 19:27:55 +0000 (21:27 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 16 Nov 2021 09:00:58 +0000 (10:00 +0100)
commit0c87376303b68ae15ac3fc1c5f991876c9ca04f3
treebbfcb6ab4379c7cd149e6cc3216e69931aeecfc7
parentce8b18dd8f6cf026b0fd1eb2c912002dab7b8880
drm/scheduler: fix drm_sched_job_add_implicit_dependencies

Trivial fix since we now need to grab a reference to the fence we have
added. Previously the dma_resv function where doing that for us.

Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: 24545c6450ba ("drm/scheduler: use new iterator in drm_sched_job_add_implicit_dependencies v2")
Link: https://patchwork.freedesktop.org/patch/msgid/20211019112706.27769-1-christian.koenig@amd.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reported-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
References: https://lore.kernel.org/dri-devel/2023306.UmlnhvANQh@archbook/
Tested-by: Nicolas Frattaroli <frattaroli.nicolas@gmail.com>
Tested-by: Yassine Oudjana <y.oudjana@protonmail.com>
drivers/gpu/drm/scheduler/sched_main.c