Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0885be75 authored by Krishna Manikandan's avatar Krishna Manikandan Committed by Greg Kroah-Hartman
Browse files

drm/msm/dpu: allow initialization of encoder locks during encoder init



[ Upstream commit 2e7ec6b5297157efabb50e5f82adc628cf90296c ]

In the current implementation, mutex initialization
for encoder mutex locks are done during encoder
setup. This can lead to scenarios where the lock
is used before it is initialized. Move mutex_init
to dpu_encoder_init to avoid this.

Signed-off-by: default avatarKrishna Manikandan <mkrishn@codeaurora.org>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5d6891a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment