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:
Ramakant Singh <ramaka@codeaurora.org>
Loading
Please register or sign in to comment