diff options
author | Stephen Boyd <swboyd@chromium.org> | 2021-02-11 14:40:58 -0800 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-02-23 12:39:29 -0800 |
commit | 743c97ca9dc989b0b08ca1fbfd134a83b37fe9ec (patch) | |
tree | fb02cd353769e9ccec6a650f7fe04e51571e0188 /.mailmap | |
parent | 182b4a2d251305201b6f9cae29067f7112f05835 (diff) |
drm/msm/kms: Use nested locking for crtc lock instead of custom classes
We don't need to make up custom lock classes here, we can simply use
mutex_lock_nested() and pass in the index of the crtc to the locking
APIs instead. This helps lockdep understand that these are really
different locks while avoiding having to allocate custom lockdep
classes.
Cc: Krishna Manikandan <mkrishn@codeaurora.org>
Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Fixes: b3d91800d9ac ("drm/msm: Fix race condition in msm driver with async layer updates")
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions