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

Skip to content
Commit 85d278bd authored by Christopher Braga's avatar Christopher Braga
Browse files

drm/msm/sde: Prevent modeset resource management on encoders in off state



Currently pre and post modeset resource management can be performed on
virtual encoders regardless of them having a physical encoder tied to
them. This operation is invalid, and can result in cascading and fatal
errors occurring during an atomic_commit.

Update the SDE encoder resource control to quietly return from pre and
post modeset management when the encoder is in the OFF state. This
prevents improper attempts to access the physical encoder, and allows
atomic commit execution to continue as intended.

Change-Id: I4292742dfbde2a611474d3921a8da7d95eff0f12
Signed-off-by: default avatarChristopher Braga <cbraga@codeaurora.org>
parent 392a07a7
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