linux/drivers/gpu/drm/v3d
Maíra Canal d23a6e3f76 drm/v3d: add missing mutex_destroy
v3d_perfmon_open_file() instantiates a mutex for a particular file
instance, but it never destroys it by calling mutex_destroy() in
v3d_perfmon_close_file().

Similarly, v3d_perfmon_create_ioctl() instantiates a mutex for a
particular perfmon, but it never destroys it by calling mutex_destroy()
in v3d_perfmon_destroy_ioctl().

So, add the missing mutex_destroy on both cases.

Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221108175425.39819-3-mcanal@igalia.com
2022-11-10 11:49:40 -01:00
..
Kconfig drm/v3d: Add support for bcm2711 2022-06-12 22:10:50 -01:00
Makefile drm/v3d: Expose performance counters to userspace 2021-07-21 00:19:59 +01:00
v3d_bo.c drm/gem-shmem: Set vm_ops in static initializer 2022-02-14 09:42:01 +01:00
v3d_debugfs.c drm/v3d: Get rid of pm code 2022-06-12 22:10:40 -01:00
v3d_drv.c drm/fb-helper: Remove unnecessary include statements 2022-11-05 17:12:04 +01:00
v3d_drv.h drm/v3d: add multiple syncobjs support 2021-10-04 10:08:46 +01:00
v3d_fence.c
v3d_gem.c drm/v3d: switch to drmm_mutex_init 2022-11-10 11:49:40 -01:00
v3d_irq.c drm/v3d: Don't clear MMU control bits on exception 2021-01-06 18:38:57 +01:00
v3d_mmu.c drm: v3d: fix common struct sg_table related issues 2020-09-10 08:18:35 +02:00
v3d_perfmon.c drm/v3d: add missing mutex_destroy 2022-11-10 11:49:40 -01:00
v3d_regs.h drm/v3d: Expose performance counters to userspace 2021-07-21 00:19:59 +01:00
v3d_sched.c drm/v3d: centralize error handling when init scheduler fails 2022-03-01 22:37:13 -01:00
v3d_trace_points.c
v3d_trace.h