diff options
author | Paloma Arellano <[email protected]> | 2023-12-12 15:10:58 -0800 |
---|---|---|
committer | Dmitry Baryshkov <[email protected]> | 2023-12-14 09:27:45 +0200 |
commit | 45284ff733e4caf6c118aae5131eb7e7cf3eea5a (patch) | |
tree | 9dcebd06d37a0a8512c9e86091ebe0352bb101f5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 341fb24a67663ec0e6b8cd012a3892d92d133349 (diff) |
drm/msm/dpu: Add mutex lock in control vblank irq
Add a mutex lock to control vblank irq to synchronize vblank
enable/disable operations happening from different threads to prevent
race conditions while registering/unregistering the vblank irq callback.
v4: -Removed vblank_ctl_lock from dpu_encoder_virt, so it is only a
parameter of dpu_encoder_phys.
-Switch from atomic refcnt to a simple int counter as mutex has
now been added
v3: Mistakenly did not change wording in last version. It is done now.
v2: Slightly changed wording of commit message
Signed-off-by: Paloma Arellano <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/571854/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions