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
Makefile
v3d_bo.c
v3d_debugfs.c
v3d_drv.c drm/fb-helper: Remove unnecessary include statements 2022-11-05 17:12:04 +01:00
v3d_drv.h
v3d_fence.c
v3d_gem.c drm/v3d: switch to drmm_mutex_init 2022-11-10 11:49:40 -01:00
v3d_irq.c
v3d_mmu.c
v3d_perfmon.c drm/v3d: add missing mutex_destroy 2022-11-10 11:49:40 -01:00
v3d_regs.h
v3d_sched.c
v3d_trace.h
v3d_trace_points.c