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

Commit 7b634e3e authored by Ramakant Singh's avatar Ramakant Singh Committed by Gerrit - the friendly Code Review server
Browse files

msm: mdss: fix to handle multi-rect configuration in error cases



In case of an error when configuring a pipe during kickoff,
driver unstages from HW the pipe that had the error, so it
makes sure this dirty pipe is not used by HW.
This is a problem if the pipe is configured in multi-rect
mode and we only fail one of the two multi-rect pipes since
in this case HW is expecting both multi-rect pipes that
represent the two HW rectangles and we are only configuring
one due the error that happened.
Fix this problem by making sure that if the configuration of
one multi-rect fail, we unstage both multi-rect pipes.

Change-Id: I78e7f89c19ee018eadba22a2ad71cf007c0874fb
Signed-off-by: default avatarRamakant Singh <ramaka@codeaurora.org>
parent a72b085f
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