mirror_ubuntu-kernels/drivers/gpu/drm/vkms
Maíra Canal 6c494ca6fd
drm/vkms: Reduce critical section
The spinlock composer_lock protects the variables crc_pending,
wb_pending, frame_start and frame_end, which are variables that are used
by the composer worker. There is no need to protect the wb_frame_info
information with a spinlock. Therefore, reduce the critical section of
the lock by removing the assignments to the wb_frame_info from the
critical section.

Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Arthur Grillo <arthurgrillo@riseup.net>
Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20230515135204.115393-2-mcanal@igalia.com
2023-06-24 19:06:10 -03:00
..
Makefile drm: vkms: Refactor the plane composer to accept new formats 2022-09-05 20:18:35 -01:00
vkms_composer.c drm/vkms: Fix all kernel-doc warnings of the vkms_composer file 2023-06-19 20:40:10 -03:00
vkms_crtc.c drm/vkms: Use drmm_crtc_init_with_planes() 2023-04-12 10:38:33 -03:00
vkms_drv.c drm/vkms: Use drmm_mode_config_init() 2023-04-12 10:38:34 -03:00
vkms_drv.h drm/vkms: add rotate-0 and reflect-x property 2023-05-08 09:46:13 -03:00
vkms_formats.c drm/vkms: Add kernel-doc to the function vkms_compose_row() 2023-06-19 20:40:09 -03:00
vkms_formats.h drm/vkms: isolate pixel conversion functionality 2023-04-24 17:09:19 -03:00
vkms_output.c drm/vkms: Remove <drm/drm_simple_kms_helper.h> include 2023-04-07 13:16:38 +02:00
vkms_plane.c drm/vkms: add rotate-270 property 2023-05-08 09:57:20 -03:00
vkms_writeback.c drm/vkms: Reduce critical section 2023-06-24 19:06:10 -03:00