diff options
| author | qianyi liu <[email protected]> | 2025-03-11 06:02:51 +0000 |
|---|---|---|
| committer | Philipp Stanner <[email protected]> | 2025-03-13 08:39:06 +0000 |
| commit | a952f1ab696873be124e31ce5ef964d36bce817f (patch) | |
| tree | 3645501cabf7bb875c2ce9a00c305b4ceef2578b /rust/helpers/helpers.c | |
| parent | drm/dp_mst: Fix locking when skipping CSN before topology probing (diff) | |
| download | kernel-a952f1ab696873be124e31ce5ef964d36bce817f.tar.gz kernel-a952f1ab696873be124e31ce5ef964d36bce817f.zip | |
drm/sched: Fix fence reference count leak
The last_scheduled fence leaks when an entity is being killed and adding
the cleanup callback fails.
Decrement the reference count of prev when dma_fence_add_callback()
fails, ensuring proper balance.
Cc: [email protected] # v6.2+
[phasta: add git tag info for stable kernel]
Fixes: 2fdb8a8f07c2 ("drm/scheduler: rework entity flush, kill and fini")
Signed-off-by: qianyi liu <[email protected]>
Signed-off-by: Philipp Stanner <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
