]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/scheduler: fix fence ref counting
authorChristian König <christian.koenig@amd.com>
Tue, 27 Sep 2022 16:43:03 +0000 (18:43 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 5 Oct 2022 10:36:20 +0000 (12:36 +0200)
commit7c022f516fbe2d4b1b4abdd1c4b7687ec81a6ed9
tree9c724630d406b65c96e598b3b41570a713313a89
parentdd3abfe4e6b679e4258f922540da2277f962eb1f
drm/scheduler: fix fence ref counting

We leaked dependency fences when processes were beeing killed.

Additional to that grab a reference to the last scheduled fence.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220929180151.139751-1-christian.koenig@amd.com
drivers/gpu/drm/scheduler/sched_entity.c