diff options
| author | Luca Coelho <luciano.coelho@intel.com> | 2024-05-28 14:29:01 +0300 |
|---|---|---|
| committer | Suraj Kandpal <suraj.kandpal@intel.com> | 2024-05-30 16:08:05 +0530 |
| commit | ed43c40e1f10e0ee1d49b841ee35b23a3a7113ee (patch) | |
| tree | bfaae8550e4f7b7190dd5016173b53b759bdf09b /tools/perf/scripts/python | |
| parent | b2c2f2df6f01174eefc1ea2aa9aef8b1a6c69575 (diff) | |
| download | linux-ed43c40e1f10e0ee1d49b841ee35b23a3a7113ee.tar.gz linux-ed43c40e1f10e0ee1d49b841ee35b23a3a7113ee.zip | |
drm/i915: move uapi.event outside spinlock in intel_crtc_vblank_work
In intel_crtc_vblank_work(), we access uapi.event before grabbing the
event_lock spinlock, but modify it inside the spinlock block. This
causes some static analyzers to get confused and issue a warning.
The uapi.event value is not protected by the event_lock, so we can
safely move it out of the protected block to prevent false positives.
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240528112901.476068-3-luciano.coelho@intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
