diff options
| author | Maíra Canal <mcanal@igalia.com> | 2023-02-02 09:55:17 -0300 |
|---|---|---|
| committer | Maíra Canal <mairacanal@riseup.net> | 2023-02-10 08:21:04 -0300 |
| commit | 7c18189b14b33c1fbf76480b1bd217877c086e67 (patch) | |
| tree | 3e4d0b9935678218d4ed37498eb0dde6eb33b5dd /tools/perf/scripts/python | |
| parent | drm: remove dumb_destroy callback (diff) | |
| download | linux-7c18189b14b33c1fbf76480b1bd217877c086e67.tar.gz linux-7c18189b14b33c1fbf76480b1bd217877c086e67.zip | |
drm/vgem: add missing mutex_destroy
vgem_fence_open() instantiates a mutex for a particular fence
instance, but never destroys it by calling mutex_destroy() in
vgem_fence_close().
So, add the missing mutex_destroy() to guarantee proper resource
destruction.
Fixes: 407779848445 ("drm/vgem: Attach sw fences to exported vGEM dma-buf (ioctl)")
Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20230202125517.427976-1-mcanal@igalia.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
