diff options
author | Maíra Canal <[email protected]> | 2023-05-15 10:52:03 -0300 |
---|---|---|
committer | Maíra Canal <[email protected]> | 2023-06-24 19:06:10 -0300 |
commit | 6c494ca6fd820ca6f4329bfbdcd048466dc752e2 (patch) | |
tree | 8fe47c85d38dd6ad7751f5a9e3463e365c2042bb /tools/perf/scripts/python | |
parent | 26195af5779857ccec3d285a9cacd4a65f126761 (diff) |
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 <[email protected]>
Reviewed-by: Arthur Grillo <[email protected]>
Signed-off-by: Maíra Canal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions