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

Skip to content
Commit 7d80025f authored by Sandeep Panda's avatar Sandeep Panda Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/dsi-staging: fix dsi underflow errors during clock switch



Currently in dsi driver, for command mode panels the dsi bit clock
can be changed via sysfs node. This creates a race condition where
at the same time sysfs update was triggered and a commit was triggered
to come out of idle screen. When this scenario occurs then dsi might
go into bad state and throw FIFO errors, if one of the dsi clock got
enabled with old rate as part of the commit and the other dsi clock
got enabled with new rate triggered from sysfs node. Fix this race
condition by making clock update and sysfs node write mutually exclusive.

Change-Id: I7c361ccccc9ce7bdac8d46ecb892ae5f5c7c98e2
Signed-off-by: default avatarSandeep Panda <spanda@codeaurora.org>
parent ffebf9a4
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